File tree Expand file tree Collapse file tree 4 files changed +23
-5
lines changed
src/main/java/com/uber/cadence/samples/hello Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' net.minecrell.licenser' version ' 0.3'
3
3
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 "
5
5
}
6
6
7
7
apply plugin : ' java'
@@ -33,6 +33,8 @@ repositories {
33
33
}
34
34
35
35
dependencies {
36
+ errorproneJavac(" com.google.errorprone:javac:9+181-r4173-1" )
37
+ errorprone(" com.google.errorprone:error_prone_core:2.3.1" )
36
38
compile group : ' com.uber.cadence' , name : ' cadence-client' , version : ' 2.5.2'
37
39
compile group : ' commons-configuration' , name : ' commons-configuration' , version : ' 1.9'
38
40
compile group : ' ch.qos.logback' , name : ' logback-classic' , version : ' 1.2.3'
@@ -44,8 +46,8 @@ dependencies {
44
46
compileJava {
45
47
dependsOn ' googleJavaFormat'
46
48
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/.*"
49
51
}
50
52
51
53
task execute (type : JavaExec ) {
Original file line number Diff line number Diff line change 1
- # Sun Feb 25 06:11:50 GMT 2018
2
1
distributionBase =GRADLE_USER_HOME
3
2
distributionPath =wrapper/dists
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.6-bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.5.1-all.zip
Original file line number Diff line number Diff line change
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
+
1
18
package com .uber .cadence .samples .hello ;
2
19
3
20
import static com .uber .cadence .samples .common .SampleConstants .DOMAIN ;
You can’t perform that action at this time.
0 commit comments