Skip to content

Commit 4b6dd55

Browse files
authored
Merge pull request #22 from vancexu/fixbuild
Fix broken build
2 parents 8e823e1 + 9315b2f commit 4b6dd55

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'net.minecrell.licenser' version '0.3'
33
id "com.github.sherter.google-java-format" version "0.6"
4-
id "net.ltgt.errorprone" version "0.0.13"
4+
id "net.ltgt.errorprone" version "0.6"
55
}
66

77
apply plugin: 'java'
@@ -33,6 +33,8 @@ repositories {
3333
}
3434

3535
dependencies {
36+
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
37+
errorprone("com.google.errorprone:error_prone_core:2.3.1")
3638
compile group: 'com.uber.cadence', name: 'cadence-client', version: '2.5.2'
3739
compile group: 'commons-configuration', name: 'commons-configuration', version: '1.9'
3840
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
@@ -44,8 +46,8 @@ dependencies {
4446
compileJava {
4547
dependsOn 'googleJavaFormat'
4648
options.encoding = 'UTF-8'
47-
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-XepExcludedPaths:" +
48-
".*/generated-sources/.*"
49+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
50+
options.errorprone.errorproneArgs << "-XepExcludedPaths:.*/generated-sources/.*"
4951
}
5052

5153
task execute(type: JavaExec) {

gradle/wrapper/gradle-wrapper.jar

-4 Bytes
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Sun Feb 25 06:11:50 GMT 2018
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip

0 commit comments

Comments
 (0)