build: migrate to kotlin dsl in gradle scripts, update gradle and deps

This commit is contained in:
Skylot
2023-07-07 22:55:45 +01:00
parent 3e4c6a9c51
commit d076c4e73d
32 changed files with 623 additions and 595 deletions
-20
View File
@@ -1,20 +0,0 @@
plugins {
id 'jadx-library'
}
dependencies {
api(project(":jadx-core"))
// TODO: finish own smali printer
implementation 'org.smali:baksmali:2.5.2'
// force latest version for smali
constraints {
implementation 'com.google.guava:guava:30.1.1-jre'
implementation 'com.beust:jcommander:1.81'
}
// compile smali files in tests
testImplementation('org.smali:smali:2.5.2') {
exclude(group: 'junit', module: 'junit') // ignore junit 4 transitive dependency
}
}
@@ -0,0 +1,20 @@
plugins {
id("jadx-library")
}
dependencies {
api(project(":jadx-core"))
// TODO: finish own smali printer
implementation("org.smali:baksmali:2.5.2")
// force latest version for smali
constraints {
implementation("com.google.guava:guava:30.1.1-jre")
implementation("com.beust:jcommander:1.81")
}
// compile smali files in tests
testImplementation("org.smali:smali:2.5.2") {
exclude(group = "junit", module = "junit") // ignore junit 4 transitive dependency
}
}