Guilherme Delgado
11/20/2024, 12:29 PMjava.lang.AssertionError
when using Asserts with kotlin 2.1.0-RC
or 2.1.0-RC2
. If I downgrade to 2.0.21
it works:
e: .gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0-RC2/a2fc741252a95c0b35b2f6803cc4593751adc78f/kotlin-stdlib-2.1.0-RC2.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
e: .gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0-RC2/a2fc741252a95c0b35b2f6803cc4593751adc78f/kotlin-stdlib-2.1.0-RC2.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
e: .gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0-RC2/a2fc741252a95c0b35b2f6803cc4593751adc78f/kotlin-stdlib-2.1.0-RC2.jar!/META-INF/kotlin-stdlib.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
e: .gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/2.1.0-RC2/b93d3ae5bf5d6705f0a7e996ae76625be9aab838/kotlin-test-junit-2.1.0-RC2.jar!/META-INF/kotlin-test_JUnit.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
e: .gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/2.1.0-RC2/589f4d86f57a00236e6af14e85e84f043ca7e41f/kotlin-test-2.1.0-RC2.jar!/META-INF/kotlin-test.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
Can someone elucidate me? Thanks!Guilherme Delgado
11/20/2024, 12:30 PMmbonnin
11/20/2024, 1:24 PMexpected version is 1.9.0.Looks like you're still compiling with 1.9?
mbonnin
11/20/2024, 1:25 PMGuilherme Delgado
11/20/2024, 1:26 PMkotlin = "2.1.0-RC2"
ksp = "2.1.0-RC2-1.0.28"
kotlinCompose = "1.7.0"
kotlinxSerialization = "1.7.3"
kotlinxSerializationPlugin = "2.0.20"
dokka = "2.0.0-Beta"
gradlePublish = "1.3.0"
compileTesting = "1.6.0"
Guilherme Delgado
11/20/2024, 1:27 PMGuilherme Delgado
11/20/2024, 1:29 PMGuilherme Delgado
11/20/2024, 1:30 PMCopy code:kmp-composeuiviewcontroller-ksp:test --tests "composeuiviewcontroller.ProcessorTest" --no-build-cache
mbonnin
11/20/2024, 1:33 PMmbonnin
11/20/2024, 1:33 PMtschuchortdev/kotlin-compile-testing
hasn't been updated in 6 months, looks like it is still on 1.9mbonnin
11/20/2024, 1:35 PMGuilherme Delgado
11/20/2024, 1:36 PMGuilherme Delgado
11/20/2024, 1:37 PM