-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (27 loc) · 1.37 KB
/
build.gradle
File metadata and controls
34 lines (27 loc) · 1.37 KB
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
description = '''Temporal Workflow Java SDK'''
ext {
okhttpVersion = '5.1.0'
servletVersion = '4.0.1'
}
dependencies {
// this module shouldn't carry temporal-sdk with it, especially for situations when users may be using a shaded artifact
compileOnly project(':temporal-serviceclient')
compileOnly project(':temporal-sdk')
compileOnly "javax.servlet:javax.servlet-api:${servletVersion}"
compileOnly "com.squareup.okhttp3:okhttp:${okhttpVersion}"
testImplementation project(':temporal-testing')
testImplementation "junit:junit:${junitVersion}"
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: "${logbackVersion}"
testImplementation "com.squareup.okhttp3:okhttp:${okhttpVersion}"
// Jetty 10+ brings a non-production ready slf4j that doesn't work with released logback.
// It also require Java 11+. That's why we stay on Jetty 9. It's for tests only anyway.
testImplementation(platform("org.eclipse.jetty:jetty-bom:9.4.51.v20230217"))
testImplementation ("org.eclipse.jetty:jetty-server")
testImplementation ("org.eclipse.jetty:jetty-servlet")
}
task registerNamespace(type: JavaExec) {
main = 'io.temporal.internal.docker.RegisterTestNamespace'
classpath = sourceSets.test.runtimeClasspath
}
test.dependsOn 'registerNamespace'