Hi folks :wave: I have this error when I run `gra...
# gradle
p
Hi folks 👋 I have this error when I run
gradle build
on a KMP project.
Copy code
java.lang.NoSuchMethodError: 'java.util.List org.jetbrains.kotlin.konan.properties.PropertiesKt.resolvablePropertyList$default(java.util.Properties, java.lang.String, java.lang.String, boolean, java.util.Set, int, java.lang.Object)'
        at org.jetbrains.kotlin.gradle.targets.native.KonanPropertiesBuildService$cacheableTargets$2.invoke(KonanPropertiesBuildService.kt:42)
        at org.jetbrains.kotlin.gradle.targets.native.KonanPropertiesBuildService$cacheableTargets$2.invoke(KonanPropertiesBuildService.kt:40)
I’m using Kotlin 1.9.10 and Gradle 8.3. That said, when I go to the source of the error the dependency seems to be
kotlin-gradle-plugin-1.9.10-gradle81.jar
. Do I need to upgrade Kotlin to 1.9.20 beta or downgradle Gradle to 8.1? Anyone seen anything like this? I can’t find any details about this online. 🙃
a
Hey,
gradle81
in the name of the artifact designates that the artifact serves for Gradle 8.1 and above. That’s fine to use it within Gradle 8.3. The issue however looks interesting. Is it possible for you to share a reproducer? At the first sight, it looks like something is polluting the build classpath, so at least a build scan would be useful.