Skip to content

Commit 92c8914

Browse files
committed
Merge pull request #471 from JLLeitschuh/build/findBugs
Adds ErrorProne to Compiler
2 parents 8079328 + c066958 commit 92c8914

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
buildscript {
2-
repositories { jcenter() }
2+
repositories {
3+
jcenter()
4+
maven {
5+
url "https://plugins.gradle.org/m2/"
6+
}
7+
}
38

49
dependencies {
510
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
11+
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.8'
612
}
713
}
814
plugins {
@@ -82,6 +88,11 @@ allprojects {
8288
apply plugin: 'java'
8389
apply plugin: 'application'
8490
apply plugin: 'jacoco'
91+
apply plugin: 'net.ltgt.errorprone'
92+
93+
configurations.errorprone {
94+
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.8'
95+
}
8596

8697

8798
repositories {

0 commit comments

Comments
 (0)