Skip to content

Commit 537db24

Browse files
authored
Depend on the local kotlinx-coroutines-core in android-unit-test project classpath (#2741)
Otherwise, the dependency from Kotlin plugin to coroutines 1.4.3 (plugin -> compiler.jar -> coroutines) leaks into the runtime classpath
1 parent c4a6ae1 commit 537db24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/kotlinx-coroutines-android/android-unit-tests/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/
44

55
dependencies {
6+
kotlinCompilerPluginClasspathMain(project(":kotlinx-coroutines-core"))
67
testImplementation("com.google.android:android:${version("android")}")
78
testImplementation("org.robolectric:robolectric:${version("robolectric")}")
89
testImplementation(project(":kotlinx-coroutines-test"))

0 commit comments

Comments
 (0)