b85900aa3d
* wip: finished with factories * wip: bundleconfig.pb * wip: jadx-aab-input, separate BundleConfig parser * wip: removed test apks * wip: proto xml pretty print * wip: fixed getNamedValues NPE * minor fixes * spotless * enabled zip64 for gui shadow jar * spotless * spotless * reverted manifest identification since signature parsing not working at the moment * replace static methods with new API methods --------- Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
48 lines
1.3 KiB
Kotlin
48 lines
1.3 KiB
Kotlin
plugins {
|
|
id("jadx-java")
|
|
id("application")
|
|
|
|
// use shadow only for application scripts, jar will be copied from jadx-gui
|
|
id("com.github.johnrengelman.shadow") version "8.1.1"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":jadx-core"))
|
|
implementation(project(":jadx-plugins-tools"))
|
|
|
|
runtimeOnly(project(":jadx-plugins:jadx-dex-input"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-java-input"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-java-convert"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-smali-input"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-rename-mappings"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-kotlin-metadata"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-script:jadx-script-plugin"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-xapk-input"))
|
|
runtimeOnly(project(":jadx-plugins:jadx-aab-input"))
|
|
|
|
implementation("org.jcommander:jcommander:1.83")
|
|
implementation("ch.qos.logback:logback-classic:1.5.6")
|
|
}
|
|
|
|
application {
|
|
applicationName = "jadx"
|
|
mainClass.set("jadx.cli.JadxCLI")
|
|
applicationDefaultJvmArgs =
|
|
listOf(
|
|
"-Xms256M",
|
|
"-XX:MaxRAMPercentage=70.0",
|
|
// disable zip checks (#1962)
|
|
"-Djdk.util.zip.disableZip64ExtraFieldValidation=true",
|
|
)
|
|
applicationDistribution.from("$rootDir") {
|
|
include("README.md")
|
|
include("NOTICE")
|
|
include("LICENSE")
|
|
}
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
// shadow jar not needed
|
|
configurations = listOf()
|
|
}
|