Skip to content

Instantly share code, notes, and snippets.

@melix
Created September 4, 2014 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melix/60d9f94a2ab961c1a0da to your computer and use it in GitHub Desktop.
Save melix/60d9f94a2ab961c1a0da to your computer and use it in GitHub Desktop.
Workaround for VerifyError in Android+Groovy builds
// 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