Skip to content

Commit

Permalink
Depend on the local kotlinx-coroutines-core in android-unit-test proj…
Browse files Browse the repository at this point in the history
…ect classpath (Kotlin#2741)

Otherwise, the dependency from Kotlin plugin to coroutines 1.4.3 (plugin -> compiler.jar -> coroutines) leaks into the runtime classpath
  • Loading branch information
qwwdfsad committed Jun 4, 2021
1 parent c4a6ae1 commit 537db24
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

dependencies {
kotlinCompilerPluginClasspathMain(project(":kotlinx-coroutines-core"))
testImplementation("com.google.android:android:${version("android")}")
testImplementation("org.robolectric:robolectric:${version("robolectric")}")
testImplementation(project(":kotlinx-coroutines-test"))
Expand Down

0 comments on commit 537db24

Please sign in to comment.