Skip to content

Commit 8eef0ae

Browse files
committed
Adds ErrorProne to Compiler
This is adds Google's Compile Time error checker. We don't have any errors at the moment. This will prevent them in the future.
1 parent 8886d50 commit 8eef0ae

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 {
@@ -67,6 +73,11 @@ allprojects {
6773
apply plugin: 'java'
6874
apply plugin: 'application'
6975
apply plugin: 'jacoco'
76+
apply plugin: 'net.ltgt.errorprone'
77+
78+
configurations.errorprone {
79+
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.8'
80+
}
7081

7182

7283
repositories {

0 commit comments

Comments
 (0)