From 62b1e99bbf6efda890a33a55a62fb4e0d6276198 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Fri, 26 Mar 2021 02:07:00 +0430 Subject: [PATCH] get the right dex2jar package please --- AndroidCompat/build.gradle.kts | 8 +++----- server/build.gradle.kts | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/AndroidCompat/build.gradle.kts b/AndroidCompat/build.gradle.kts index d728678..4c86208 100644 --- a/AndroidCompat/build.gradle.kts +++ b/AndroidCompat/build.gradle.kts @@ -18,9 +18,7 @@ repositories { dependencies { // Android stub library -// compileOnly( fileTree(File(rootProject.rootDir, "libs/android"), include: "*.jar") implementation(fileTree("lib/")) - implementation(fileTree("${rootProject.rootDir}/server/lib/dex2jar/")) // Android JAR libs @@ -41,10 +39,10 @@ dependencies { compileOnly( group= "xmlpull", name= "xmlpull", version= "1.1.3.1") // Config API - implementation( project(":AndroidCompat:Config")) + implementation(project(":AndroidCompat:Config")) - // dex2jar -// compileOnly( "dex2jar:dex-translator") + // dex2jar: https://github.com/DexPatcher/dex2jar/releases/tag/v2.1-20190905-lanchon + compileOnly("com.github.DexPatcher.dex2jar:dex-tools:v2.1-20190905-lanchon") // APK parser compileOnly("net.dongliu:apk-parser:2.6.10") diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 82b1438..6345b58 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -64,8 +64,7 @@ dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") // dex2jar: https://github.com/DexPatcher/dex2jar/releases/tag/v2.1-20190905-lanchon -// implementation(fileTree("lib/dex2jar/")) - implementation("com.github.DexPatcher:dex2jar:v2.1-20190905-lanchon") + implementation("com.github.DexPatcher.dex2jar:dex-tools:v2.1-20190905-lanchon") // api