@@ -272,31 +272,31 @@ val check by tasks.getting {
272
272
}
273
273
274
274
kover {
275
- excludeTests {
276
- // Always disabled, lincheck doesn't really support coverage
277
- tasks( " jvmLincheckTest " )
278
- }
275
+ currentProject {
276
+ instrumentation {
277
+ // Always disabled, lincheck doesn't really support coverage
278
+ disabledForTestTasks.addAll( " jvmLincheckTest " )
279
279
280
- excludeInstrumentation {
281
- // lincheck has NPE error on `ManagedStrategyStateHolder` class
282
- classes( " org.jetbrains.kotlinx.lincheck.* " )
280
+ // lincheck has NPE error on `ManagedStrategyStateHolder` class
281
+ excludedClasses.addAll( " org.jetbrains.kotlinx.lincheck.* " )
282
+ }
283
283
}
284
- }
285
284
286
- koverReport {
287
- filters {
288
- excludes {
289
- classes(
290
- " kotlinx.coroutines.debug.*" , // Tested by debug module
291
- " kotlinx.coroutines.channels.ChannelsKt__DeprecatedKt*" , // Deprecated
292
- " kotlinx.coroutines.scheduling.LimitingDispatcher" , // Deprecated
293
- " kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher" , // Deprecated
294
- " kotlinx.coroutines.flow.FlowKt__MigrationKt*" , // Migrations
295
- " kotlinx.coroutines.flow.LintKt*" , // Migrations
296
- " kotlinx.coroutines.internal.WeakMapCtorCache" , // Fallback implementation that we never test
297
- " _COROUTINE._CREATION" , // For IDE navigation
298
- " _COROUTINE._BOUNDARY" , // For IDE navigation
299
- )
285
+ reports {
286
+ filters {
287
+ excludes {
288
+ classes(
289
+ " kotlinx.coroutines.debug.*" , // Tested by debug module
290
+ " kotlinx.coroutines.channels.ChannelsKt__DeprecatedKt*" , // Deprecated
291
+ " kotlinx.coroutines.scheduling.LimitingDispatcher" , // Deprecated
292
+ " kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher" , // Deprecated
293
+ " kotlinx.coroutines.flow.FlowKt__MigrationKt*" , // Migrations
294
+ " kotlinx.coroutines.flow.LintKt*" , // Migrations
295
+ " kotlinx.coroutines.internal.WeakMapCtorCache" , // Fallback implementation that we never test
296
+ " _COROUTINE._CREATION" , // For IDE navigation
297
+ " _COROUTINE._BOUNDARY" , // For IDE navigation
298
+ )
299
+ }
300
300
}
301
301
}
302
302
}
0 commit comments