-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (34 loc) · 984 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id 'application'
}
repositories {
mavenCentral()
}
ext {
javaSDKVersion = '1.23.1'
}
dependencies {
implementation "io.temporal:temporal-sdk:$javaSDKVersion"
implementation 'ch.qos.logback:logback-classic:1.5.3'
// lombok
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
// // Use JUnit test framework
// testImplementation "io.temporal:temporal-testing:$javaSDKVersion"
// testImplementation "junit:junit:4.13.2"
// testImplementation "org.mockito:mockito-core:5.6.0"
// testCompileOnly 'org.projectlombok:lombok:1.18.30'
// testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
application {
mainClass = 'com.example.worker.Main'
}
//task runWorker(type: JavaExec) {
// mainClass = 'com.example.worker.Main'
// classpath = sourceSets.main.runtimeClasspath
//}