Update to Kotlin 1.9.20
- Updates Compose compiler & dependencies
- Adds final to overridden variables used with Kotlin target 1.8 to work around KT-61228.
- Updates AndroidX plugin to support tasks that were based on JavaPlugin, as Kotlin only adds JavaBasePlugin for now.
- Forces androidInstrumentedTest sourcetree to be of test type, to allow for cross dependency between commonTest and instrument tests.
Change-Id: Idc8cbe6736ea0438f7eeead3a4fbddc1b676ec8f
diff --git a/development/update_kotlin.sh b/development/update_kotlin.sh
index ec61013..61fe652 100755
--- a/development/update_kotlin.sh
+++ b/development/update_kotlin.sh
@@ -20,8 +20,9 @@
ARTIFACTS_TO_DOWNLOAD+="org.jetbrains.kotlin:kotlin-annotation-processing-gradle:$KOTLIN_VERSION,"
ARTIFACTS_TO_DOWNLOAD+="org.jetbrains.kotlin:kotlin-parcelize-compiler:$KOTLIN_VERSION,"
ARTIFACTS_TO_DOWNLOAD+="org.jetbrains.kotlin:kotlin-bom:$KOTLIN_VERSION,"
+ARTIFACTS_TO_DOWNLOAD+="org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION,"
./development/importMaven/importMaven.sh --allow-jetbrains-dev "$ARTIFACTS_TO_DOWNLOAD"
# Import konan binaries
-./development/importMaven/importMaven.sh import-konan-binaries --konan-compiler-version "$KOTLIN_VERSION"
+./development/importMaven/importMaven.sh --allow-jetbrains-dev import-konan-binaries --konan-compiler-version "$KOTLIN_VERSION"