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+
18/*
29 * Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
310 */
@@ -43,7 +50,7 @@ kotlin {
4350 }
4451}
4552
46- tasks.jvmTest {
53+ tasks.withType< KotlinJvmTest > {
4754 // lincheck agent
4855 jvmArgs(" -XX:+EnableDynamicAgentLoading" )
4956}
Original file line number Diff line number Diff line change @@ -78,12 +78,9 @@ kotlin {
7878 explicitApi = ExplicitApiMode .Disabled
7979}
8080
81- tasks.jvmTest {
81+ tasks.withType< KotlinJvmTest > {
8282 // lincheck agent
8383 jvmArgs(" -XX:+EnableDynamicAgentLoading" )
84- }
85-
86- tasks.withType<KotlinJvmTest > {
8784 environment(" LIBRARY_VERSION" , libs.versions.kotlinx.rpc.get())
8885}
8986
You can’t perform that action at this time.
0 commit comments