File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ plugins {
77}
88
99dependencies {
10- implementation(" io.github.skylot:jadx-core:1.5.0-SNAPSHOT" ) {
10+ // use compile only scope to exclude jadx-core and its dependencies from result jar
11+ compileOnly(" io.github.skylot:jadx-core:1.5.0-SNAPSHOT" ) {
1112 isChanging = true
1213 }
1314
@@ -16,7 +17,7 @@ dependencies {
1617 testImplementation(" org.junit.jupiter:junit-jupiter-api:5.9.3" )
1718 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.9.3" )
1819
19- testRuntimeOnly (" io.github.skylot:jadx-smali-input:1.5.0-SNAPSHOT" ) {
20+ testImplementation (" io.github.skylot:jadx-smali-input:1.5.0-SNAPSHOT" ) {
2021 isChanging = true
2122 }
2223}
@@ -39,11 +40,7 @@ tasks {
3940 useJUnitPlatform()
4041 }
4142 val shadowJar = withType(ShadowJar ::class ) {
42- archiveClassifier.set(" " )
43- dependencies {
44- // jadx-core can be safely excluded from result jar
45- exclude(dependency(" io.github.skylot:jadx-core" ))
46- }
43+ archiveClassifier.set(" " ) // remove '-all' suffix
4744 }
4845
4946 // copy result jar into "build/dist" directory
You can’t perform that action at this time.
0 commit comments