File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ import org.gradle.kotlin.dsl.withType
6
+ import org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest
7
+
1
8
/*
2
9
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
3
10
*/
@@ -43,7 +50,7 @@ kotlin {
43
50
}
44
51
}
45
52
46
- tasks.jvmTest {
53
+ tasks.withType< KotlinJvmTest > {
47
54
// lincheck agent
48
55
jvmArgs(" -XX:+EnableDynamicAgentLoading" )
49
56
}
Original file line number Diff line number Diff line change @@ -78,12 +78,9 @@ kotlin {
78
78
explicitApi = ExplicitApiMode .Disabled
79
79
}
80
80
81
- tasks.jvmTest {
81
+ tasks.withType< KotlinJvmTest > {
82
82
// lincheck agent
83
83
jvmArgs(" -XX:+EnableDynamicAgentLoading" )
84
- }
85
-
86
- tasks.withType<KotlinJvmTest > {
87
84
environment(" LIBRARY_VERSION" , libs.versions.kotlinx.rpc.get())
88
85
}
89
86
You can’t perform that action at this time.
0 commit comments