Skip to content

Commit

Permalink
Add property value checking
Browse files Browse the repository at this point in the history
  • Loading branch information
creati8e committed Mar 28, 2019
1 parent 3cee293 commit 150e50a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ProguardDictionaryGeneratorPlugin : Plugin<Project> {
}

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

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

0 comments on commit 150e50a

Please sign in to comment.