rocketraman
03/16/2023, 1:02 PMkotlin {
jvmToolchain(17)
}
but as soon as I add the id("io.kotest.multiplatform") version "5.5.5"
declaration to my build, gradle fails with:
e: .../build.gradle.kts:89:16: The integer literal does not conform to the expected type Action<Any>
I'm pretty sure this is because the kotest gradle plugin is pulling a Kotlin 1.6 version and I'm hitting https://youtrack.jetbrains.com/issue/KT-47924/Remove-annoying-cast-in-toolchain-extension-method-for-Kotlin-DSL with was fixed in 1.7.0. Any ideas on the best workaround?rocketraman
03/16/2023, 1:10 PM* What went wrong:
Could not determine the dependencies of task ':kotlinNpmInstall'.
> Could not create task ':rootPackageJson'.
> Could not create task ':client:web:browserTest'.
> 'org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackCssSupport org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig.getCssSupport()'
Emre
07/05/2023, 10:49 PMEmre
07/06/2023, 3:12 AMplugins {
id("org.jetbrains.kotlin.plugin.scripting") version "1.8.22"
}
the compiler complains that
The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checkededit; I was able to overcome the error once I changed the plugin version to
1.8.21
matching BuildKonfig 0.13.3:
buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
}
}
plugins {
id("com.codingfeline.buildkonfig") version "0.13.3"
}
Emre
07/06/2023, 3:17 AMrocketraman
08/26/2023, 2:50 AMrocketraman
08/26/2023, 2:51 AM