Polish "Upgrade to Gradle 9.6.1"

Stop using providers.properties as it is deprecated

See gh-50793
This commit is contained in:
Stéphane Nicoll
2026-07-15 07:51:22 +02:00
parent b75932f259
commit 8c6c3fd1e4
2 changed files with 2 additions and 4 deletions
@@ -43,9 +43,8 @@ dependencies {
}
tasks.register("kotlinVersion") {
def properties = project.properties
def kotlinVersion = project.findProperty('kotlin.version') ?: 'none'
doLast {
def kotlinVersion = properties.getOrDefault('kotlin.version', 'none')
println "Kotlin version: ${kotlinVersion}"
}
}
@@ -19,9 +19,8 @@ plugins {
}
tasks.register("kotlinVersion") {
def properties = project.properties
def kotlinVersion = project.findProperty('kotlin.version') ?: 'none'
doLast {
def kotlinVersion = properties.getOrDefault('kotlin.version', 'none')
println "Kotlin version: ${kotlinVersion}"
}
}