Created
September 4, 2014 11:19
-
-
Save melix/60d9f94a2ab961c1a0da to your computer and use it in GitHub Desktop.
Workaround for VerifyError in Android+Groovy builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this to build.gradle | |
gradle.taskGraph.whenReady { | |
allprojects { | |
tasks.withType(GroovyCompile) { task -> | |
logger.lifecycle("Task $task") | |
task.groovyOptions.forkOptions.jvmArgs=['-noverify'] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment