diff options
| author | Stefan Schmidt <stschmidt@google.com> | 2017-07-14 21:50:37 +0200 |
|---|---|---|
| committer | Stefan Schmidt <stschmidt@google.com> | 2017-07-14 21:50:37 +0200 |
| commit | 82f859b02808c34a0c94fb5860509d362f021cdc (patch) | |
| tree | d4842dcc9382927f71f7d8f6151116154d9e29d0 /build.gradle | |
| parent | 4502e9b6164c1616f3448e9017a5b8331c986d85 (diff) | |
| download | platform_external_opencensus-java-82f859b02808c34a0c94fb5860509d362f021cdc.tar.gz platform_external_opencensus-java-82f859b02808c34a0c94fb5860509d362f021cdc.tar.bz2 platform_external_opencensus-java-82f859b02808c34a0c94fb5860509d362f021cdc.zip | |
Introduce a new property "findBugsVersion" and use it consistently.
This property contains the version of the FindBugs tool and the
FindBugs JSR 305 jar.
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 31956b36..f584bd37 100644 --- a/build.gradle +++ b/build.gradle @@ -101,6 +101,7 @@ subprojects { autoValueVersion = '1.4' guavaVersion = '19.0' grpcContextVersion = '1.4.0' + findBugsVersion = '3.0.1' libraries = [ auto_value : "com.google.auto.value:auto-value:${autoValueVersion}", @@ -108,7 +109,7 @@ subprojects { errorprone : 'com.google.errorprone:error_prone_annotations:2.0.11', grpc_context : "io.grpc:grpc-context:${grpcContextVersion}", guava : "com.google.guava:guava:${guavaVersion}", - jsr305 : 'com.google.code.findbugs:jsr305:3.0.0', + jsr305 : "com.google.code.findbugs:jsr305:${findBugsVersion}", // Test dependencies. guava_testlib : "com.google.guava:guava-testlib:${guavaVersion}", @@ -135,7 +136,7 @@ subprojects { } findbugs { - toolVersion = '3.0.1' + toolVersion = findBugsVersion ignoreFailures = false // bug free or it doesn't ship! effort = 'max' reportLevel = 'low' // low = sensitive to even minor mistakes |
