Skip to content

Commit 9315b2f

Browse files
committed
Fix broken build
1 parent 22ba0bd commit 9315b2f

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-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

src/main/java/com/uber/cadence/samples/hello/HelloSaga.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Modifications copyright (C) 2017 Uber Technologies, Inc.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
7+
* use this file except in compliance with the License. A copy of the License is
8+
* located at
9+
*
10+
* http://aws.amazon.com/apache2.0
11+
*
12+
* or in the "license" file accompanying this file. This file is distributed on
13+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14+
* express or implied. See the License for the specific language governing
15+
* permissions and limitations under the License.
16+
*/
17+
118
package com.uber.cadence.samples.hello;
219

320
import static com.uber.cadence.samples.common.SampleConstants.DOMAIN;

0 commit comments

Comments
 (0)