[Gradle] Replace useCompilerVersion by a Provider API property

Now this property acts as the single source of truth of BTA implementation version used in KGP. It allows both read and write.
^KT-62921 Fixed
This commit is contained in:
Alexander.Likhachev
2024-01-23 23:59:15 +01:00
committed by Space Team
parent 10cedd495d
commit a904ded5f2
3 changed files with 30 additions and 15 deletions
@@ -159,7 +159,7 @@ private fun TestProject.enableOtherVersionBuildToolsImpl() {
buildGradle.append(
"""
kotlin {
useCompilerVersion("$OTHER_KOTLIN_VERSION")
compilerVersion.set("$OTHER_KOTLIN_VERSION")
}
""".trimIndent()
)