Skip to content

Commit efb077f

Browse files
committed
fix: require java11+ for r8
1 parent f0358ed commit efb077f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

brut.apktool/apktool-cli/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ val shadowJar = tasks.create("shadowJar", Jar::class) {
5050
tasks.register<JavaExec>("proguard") {
5151
dependsOn("shadowJar")
5252

53+
onlyIf {
54+
JavaVersion.current().isJava11Compatible
55+
}
56+
5357
val proguardRules = file("proguard-rules.pro")
5458
val originalJar = shadowJar.outputs.files.singleFile
5559

0 commit comments

Comments
 (0)