-
Notifications
You must be signed in to change notification settings - Fork 157
/
Copy pathbuild.gradle
38 lines (30 loc) · 1.06 KB
/
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
plugins {
id 'application'
}
description = '''Temporal Workflow Java SDK testing'''
java {
registerFeature('junit4') {
usingSourceSet(sourceSets.main)
}
registerFeature('junit5') {
usingSourceSet(sourceSets.main)
}
}
dependencies {
api project(':temporal-sdk')
api project(':temporal-test-server')
// This dependency is included in temporal-sdk module as optional with compileOnly scope.
// To make things easier for users, it's helpful for the testing module to bring this dependency
// transitively as most users work with history jsons in tests.
implementation("com.jayway.jsonpath:json-path:$jsonPathVersion"){
exclude group: 'org.slf4j', module: 'slf4j-api'
}
junit4Api 'junit:junit:4.13.2'
junit5Api platform('org.junit:junit-bom:5.9.2')
junit5Api 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter'
testRuntimeOnly group: 'ch.qos.logback', name: 'logback-classic', version: "${logbackVersion}"
}
test {
useJUnitPlatform()
}