[Gradle] Don't use forUseAtConfigurationTime since it is not necessary

^KT-43293
This commit is contained in:
Anton Lakotka
2022-07-20 14:25:54 +02:00
committed by Space
parent f85762ab56
commit 4a5f9617db
@@ -75,7 +75,7 @@ abstract class KotlinNativeTest : KotlinTest() {
private val trackedEnvironmentVariablesKeys = mutableSetOf<String>()
private val hasTCProjectProperty = if (isConfigurationCacheAvailable(project.gradle)) {
project.providers.gradleProperty(TC_PROJECT_PROPERTY).forUseAtConfigurationTime().isPresent
project.providers.gradleProperty(TC_PROJECT_PROPERTY).isPresent
} else {
project.hasProperty(TC_PROJECT_PROPERTY)
}