Update script downlading Kotlin dev compiler
Update dependency from
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4
to
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.0
Fixes: b/381815685
Change-Id: Ic681b10b2e06a6f86e16439dbffadd8e6aed5983
diff --git a/tools/download_kotlin_dev.py b/tools/download_kotlin_dev.py
index 337d6c8..f51a2a1 100755
--- a/tools/download_kotlin_dev.py
+++ b/tools/download_kotlin_dev.py
@@ -95,7 +95,7 @@
top_most_version_and_build), KOTLINC_LIB,
"kotlin-script-runtime.jar")
download_and_save(
- "https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.6.4/kotlinx-coroutines-core-jvm-1.6.4.jar", KOTLINC_LIB, "kotlinx-coroutines-core-jvm.jar")
+ "https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.8.0/kotlinx-coroutines-core-jvm-1.8.0.jar", KOTLINC_LIB, "kotlinx-coroutines-core-jvm.jar")
download_and_save(
"https://repo1.maven.org/maven2/org/jetbrains/intellij/deps/trove4j/1.0.20200330/trove4j-1.0.20200330.jar", KOTLINC_LIB, "trove4j.jar")
@@ -127,7 +127,7 @@
.format(artifactId=artifactId, version=top_most_version_and_build))
expected_dependencies.add('org.jetbrains.kotlin:kotlin-reflect:1.6.10')
expected_dependencies.add('org.jetbrains.intellij.deps:trove4j:1.0.20200330')
- expected_dependencies.add('org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4')
+ expected_dependencies.add('org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.0')
if not coordinates in expected_dependencies:
raise Exception('Unexpected dependency: ' + coordinates)