@@ -2,13 +2,42 @@ plugins {
2
2
id ' java-test-fixtures'
3
3
}
4
4
5
+ muzzle {
6
+ pass {
7
+ group = ' org.jetbrains.kotlin'
8
+ module = ' kotlin-stdlib'
9
+ versions = " [1.3.0,)"
10
+ extraDependency " org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
11
+ }
12
+ pass {
13
+ group = ' org.jetbrains.kotlinx'
14
+ module = ' kotlinx-coroutines-core'
15
+ versions = " [1.3.0,)"
16
+ }
17
+ pass {
18
+ group = ' org.jetbrains.kotlinx'
19
+ module = ' kotlinx-coroutines-core-jvm'
20
+ versions = " [1.5.0,)"
21
+ }
22
+ }
23
+
5
24
apply from : " $rootDir /gradle/java.gradle"
6
25
apply from : " $rootDir /gradle/test-with-kotlin.gradle"
7
26
27
+ addTestSuite(' latestDepTest' )
28
+
8
29
tasks. named(" compileTestFixturesGroovy" ). configure {
9
30
classpath + = files(compileTestFixturesKotlin. destinationDirectory)
10
31
}
11
32
33
+ tasks. named(" compileTestGroovy" ). configure {
34
+ classpath + = files(compileTestKotlin. destinationDirectory)
35
+ }
36
+
37
+ tasks. named(" compileLatestDepTestGroovy" ). configure {
38
+ classpath + = files(compileLatestDepTestKotlin. destinationDirectory)
39
+ }
40
+
12
41
dependencies {
13
42
api project(' :dd-java-agent:instrumentation:java-concurrent' )
14
43
compileOnly libs. kotlin
@@ -20,4 +49,12 @@ dependencies {
20
49
testFixturesApi project(' :dd-java-agent:instrumentation:trace-annotation' )
21
50
testFixturesApi project(' :dd-java-agent:testing' )
22
51
testFixturesApi ' com.github.spotbugs:spotbugs-annotations:4.2.0'
52
+
53
+ testImplementation libs. kotlin
54
+ testImplementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
55
+ testImplementation testFixtures(project(' :dd-java-agent:instrumentation:kotlin-coroutines' ))
56
+
57
+ latestDepTestImplementation libs. kotlin
58
+ latestDepTestImplementation " org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.+"
59
+ latestDepTestImplementation testFixtures(project(' :dd-java-agent:instrumentation:kotlin-coroutines' ))
23
60
}
0 commit comments