-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (33 loc) · 1.5 KB
/
build.gradle
File metadata and controls
42 lines (33 loc) · 1.5 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
35
36
37
38
39
40
41
plugins {
id 'java-test-fixtures'
}
muzzle {
fail {
group = 'io.servicetalk'
module = 'servicetalk-concurrent-api'
versions = '[,0.42.56)'
}
pass {
group = 'io.servicetalk'
module = 'servicetalk-concurrent-api'
// 0.42.56 is the earliest version where CapturedContext is public
versions = '[0.42.56,]'
}
}
ext {
minJavaVersionForTests = JavaVersion.VERSION_11
}
apply from: "$rootDir/gradle/java.gradle"
//addTestSuiteForDir('latestDepTest', 'test')
// TODO currently 0.42.56 is the latest version. Enable this once the next (0.42.57) is out, add 'latestDepTest'
dependencies {
compileOnly group: 'io.servicetalk', name: 'servicetalk-concurrent-api', version: '0.42.56'
compileOnly group: 'io.servicetalk', name: 'servicetalk-context-api', version: '0.42.56'
testImplementation group: 'io.servicetalk', name: 'servicetalk-concurrent-api', version: '0.42.56'
testImplementation group: 'io.servicetalk', name: 'servicetalk-context-api', version: '0.42.56'
// import the previous instrumentation into the test to ensure that it does not interfere with it
testRuntimeOnly project(":dd-java-agent:instrumentation:servicetalk:servicetalk-0.42.0")
// TODO currently 0.42.56 is the latest version. Enable this once the next (0.42.57) is out, add 'latestDepTest'
// latestDepTestImplementation group: 'io.servicetalk', name: 'servicetalk-concurrent-api', version: '+'
// latestDepTestImplementation group: 'io.servicetalk', name: 'servicetalk-context-api', version: '+'
}