We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9fe66 commit ccd1333Copy full SHA for ccd1333
kotlinx-coroutines-core/build.gradle
@@ -60,10 +60,17 @@ kotlin.sourceSets {
60
}
61
62
jvmTest.dependencies {
63
- api "org.jetbrains.kotlinx:lincheck:$lincheck_version"
+ // This is a workaround for https://youtrack.jetbrains.com/issue/KT-39037
64
+ def excludingCurrentProject = { dependency ->
65
+ def result = project.dependencies.create(dependency)
66
+ result.exclude(module: project.name)
67
+ return result
68
+ }
69
+
70
+ api(excludingCurrentProject("org.jetbrains.kotlinx:lincheck:$lincheck_version"))
71
api "org.jetbrains.kotlinx:kotlinx-knit-test:$knit_version"
72
api "com.esotericsoftware:kryo:4.0.0"
- implementation project (":android-unit-tests")
73
+ implementation(excludingCurrentProject(project(":android-unit-tests")))
74
75
76
0 commit comments