Open CLOVIS-AI opened 1 week ago
In https://cookbook.gradle.org/plugin-development/kotlin-plugins/#making-your-code-compatible-with-the-kotlin-embedded-version there is an elaborate configuration to force a specific version of the Kotlin standard library when writing plugins.
Is there a particular reason dependency constraints can't be used here?
dependencies { constraints { api("org.jetbrains.kotlin:kotlin-stdlib:$embeddedKotlin") } }
(or something similar, sorry I'm on mobile)
In theory I think this should work?
Description
In https://cookbook.gradle.org/plugin-development/kotlin-plugins/#making-your-code-compatible-with-the-kotlin-embedded-version there is an elaborate configuration to force a specific version of the Kotlin standard library when writing plugins.
Is there a particular reason dependency constraints can't be used here?
(or something similar, sorry I'm on mobile)
In theory I think this should work?