[Gradle] Don't use forUseAtConfigurationTime since it is not necessary
^KT-43293
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ abstract class KotlinNativeTest : KotlinTest() {
|
|||||||
private val trackedEnvironmentVariablesKeys = mutableSetOf<String>()
|
private val trackedEnvironmentVariablesKeys = mutableSetOf<String>()
|
||||||
|
|
||||||
private val hasTCProjectProperty = if (isConfigurationCacheAvailable(project.gradle)) {
|
private val hasTCProjectProperty = if (isConfigurationCacheAvailable(project.gradle)) {
|
||||||
project.providers.gradleProperty(TC_PROJECT_PROPERTY).forUseAtConfigurationTime().isPresent
|
project.providers.gradleProperty(TC_PROJECT_PROPERTY).isPresent
|
||||||
} else {
|
} else {
|
||||||
project.hasProperty(TC_PROJECT_PROPERTY)
|
project.hasProperty(TC_PROJECT_PROPERTY)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user