Skip to content

Commit 150e50a

Browse files
committed
Add property value checking
1 parent 3cee293 commit 150e50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/java/ru/cleverpumpkin/plugin/ProguardDictionaryGeneratorPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ProguardDictionaryGeneratorPlugin : Plugin<Project> {
6868
}
6969

7070
private fun Project.isR8Enabled(): Boolean {
71-
return properties.any { (key) -> key in PROP_R8 }
71+
return properties.any { (key, value) -> key in PROP_R8 && value == "true" }
7272
}
7373

7474
private fun Project.findTransformTask(taskName: String): Task? {

0 commit comments

Comments
 (0)