Join Slack
Powered by
What's the difference between `getKotlinPluginVers...
# gradle
e
eygraber
07/06/2023, 10:46 PM
What's the difference between
getKotlinPluginVersion
and
kotlinToolingVersion
?
a
Adam S
07/07/2023, 9:48 AM
it looks like one is cached in a Gradle extra property and the other is computed anew each time
https://github.com/JetBrains/kotlin/blob/bcf27812cd28041e0b9ffa3bfe52fc58c397d0eb/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPluginWrapper.kt#L385-L399
they should return the same value though
https://github.com/JetBrains/kotlin/blob/bcf27812cd28041e0b9ffa3bfe52fc58c397d0eb/libraries/tools/kotlin-gradle-plugin/src/functionalTest/kotlin/org/jetbrains/kotlin/gradle/unitTests/KotlinToolingVersionTest.kt#L25-L30
10
Views
Open in Slack
Previous
Next