Adds error-prone to check java code

This commit is contained in:
Jonathan Leitschuh
2016-05-12 12:24:08 -04:00
committed by Peter Johnson
parent a532518056
commit 6272244a73
7 changed files with 25 additions and 0 deletions

View File

@@ -1,6 +1,15 @@
import org.gradle.internal.os.OperatingSystem
apply plugin: 'java'
apply plugin: 'net.ltgt.errorprone'
repositories {
mavenCentral()
}
configurations.errorprone {
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.9'
}
def generatedJNIHeaderLoc = '../build/include'