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 11plugins {
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
77apply plugin : ' java'
@@ -33,6 +33,8 @@ repositories {
3333}
3434
3535dependencies {
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 {
4446compileJava {
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
5153task execute (type : JavaExec ) {
Original file line number Diff line number Diff line change 1- # Sun Feb 25 06:11:50 GMT 2018
21distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.6-bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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+
118package com .uber .cadence .samples .hello ;
219
320import static com .uber .cadence .samples .common .SampleConstants .DOMAIN ;
You can’t perform that action at this time.
0 commit comments