Pin the errorprone version to 2.0.5

This commit is contained in:
Florian Schmaus 2015-11-16 15:07:40 +01:00
parent 227ef2c5ae
commit 73179072e9
1 changed files with 7 additions and 0 deletions

View File

@ -165,6 +165,13 @@ allprojects {
tasks.withType(Javadoc) {
options.charSet = "UTF-8"
}
// Pin the errorprone version to prevent "unsupported major.minor
// version 52.0" error messages caused by the errorprone javac.
// See https://github.com/tbroyer/gradle-errorprone-plugin/issues/18 for more information.
configurations.errorprone {
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.5'
}
}
gradle.taskGraph.whenReady { taskGraph ->