1+ // Run 'gradle checkUpdates' to find out which dependencies have newer versions
2+
13plugins {
24 id ' net.minecrell.licenser' version ' 0.4.1'
3- id ' com.github.sherter.google-java-format' version ' 0.8'
4- id " net.ltgt.errorprone" version " 0.6"
5+ id ' com.github.sherter.google-java-format' version ' 0.9'
6+ id " net.ltgt.errorprone" version " 1.2.1"
7+ id ' name.remal.check-updates' version ' 1.0.201'
58}
69
710apply plugin : ' java'
@@ -27,16 +30,16 @@ repositories {
2730}
2831
2932dependencies {
30- implementation group : ' io.temporal' , name : ' temporal-sdk' , version : ' 0.26 .0'
31- implementation group : ' commons-configuration' , name : ' commons-configuration' , version : ' 1.9 '
32- implementation group : ' ch.qos.logback' , name : ' logback-classic' , version : ' 1.2.3'
33+ implementation group : ' io.temporal' , name : ' temporal-sdk' , version : ' 0.27 .0'
34+ implementation group : ' commons-configuration' , name : ' commons-configuration' , version : ' 1.10 '
35+ implementation group : ' ch.qos.logback' , name : ' logback-classic' , version : ' 1.2.3'
3336
34- testImplementation group : ' junit' , name : ' junit' , version : ' 4.12 '
37+ testImplementation group : ' junit' , name : ' junit' , version : ' 4.13 '
3538 testImplementation group : ' org.mockito' , name : ' mockito-all' , version : ' 1.10.19'
36- testImplementation group : ' org.powermock' , name : ' powermock-api-mockito' , version : ' 1.7.3 '
39+ testImplementation group : ' org.powermock' , name : ' powermock-api-mockito' , version : ' 1.7.4 '
3740
3841 errorproneJavac(" com.google.errorprone:javac:9+181-r4173-1" )
39- errorprone(" com.google.errorprone:error_prone_core:2.3.1 " )
42+ errorprone(" com.google.errorprone:error_prone_core:2.4.0 " )
4043}
4144
4245compileJava {
@@ -51,3 +54,28 @@ task execute(type: JavaExec) {
5154license {
5255 header rootProject. file(' license-header.txt' )
5356}
57+
58+ task runHello {
59+ doLast {
60+ // Cron and Periodic are not in the list as they take long time to stop
61+ [" io.temporal.samples.hello.HelloActivity" ,
62+ " io.temporal.samples.hello.HelloActivityRetry" ,
63+ " io.temporal.samples.hello.HelloAsync" ,
64+ " io.temporal.samples.hello.HelloAsyncActivityCompletion" ,
65+ " io.temporal.samples.hello.HelloAsyncLambda" ,
66+ " io.temporal.samples.hello.HelloChild" ,
67+ " io.temporal.samples.hello.HelloException" ,
68+ " io.temporal.samples.hello.HelloPolymorphicActivity" ,
69+ " io.temporal.samples.hello.HelloQuery" ,
70+ " io.temporal.samples.hello.HelloSaga" ,
71+ " io.temporal.samples.hello.HelloSearchAttributes" ,
72+ " io.temporal.samples.hello.HelloSignal"
73+ ]. each { mainClass ->
74+ println mainClass
75+ javaexec {
76+ classpath = sourceSets. main. runtimeClasspath
77+ main = mainClass
78+ }
79+ }
80+ }
81+ }
0 commit comments