i’m not even actually trying to write the precompiled plugins with any kotlin 1.5 features, i’m trying to automatically add kotlin 1.5 to the runtime path of apps that apply my plugins.
c
Casey Brooks
06/02/2021, 7:16 PM
The Kotlin version used by Gradle does not impact or limit the version used for your apps. There’s nothing wrong with using the embedded Kotlin 1.3 or 1.4 in the build scripts, but applying the Kotlin 1.5 plugin in that script to use 1.5 in your app.
➕ 3
Casey Brooks
06/02/2021, 7:18 PM
What does your script look like? What’s the specific error you’re getting?
e
ephemient
06/02/2021, 7:19 PM
if you are writing a precompiled script plugin, it does matter because applying a plugin there (to apply it to the target build) requies adding it to the plugin classpath as well
ephemient
06/02/2021, 7:20 PM
you should be able to write a normal plugin that applies Kotlin 1.5 fine, though
b
Ben Madore
06/02/2021, 7:21 PM
yeah, though, i’d certainly prefer not to have to do that. womp womp
g
gildor
06/03/2021, 2:22 AM
add kotlin 1.5 to the runtime path of apps that apply my plugins.
Just curious what you trying to achive? This indeed not related on version of Kotlin used by gradle plugin, gradle plugin can use any version of kotlin or don’t use kotlin at all