Deprecated 'kotlin.useCompilerFallbackSearch' property.
This property was introduced in 2018 and no longer supported. See https://discuss.kotlinlang.org/t/how-to-set-usefallbackcompilersearch/9039 for details why it was introduced.
This commit is contained in:
+12
-2
@@ -17,7 +17,6 @@ import org.jetbrains.kotlin.gradle.targets.js.dukat.ExternalsOutputFormat
|
||||
import org.jetbrains.kotlin.gradle.targets.js.dukat.ExternalsOutputFormat.Companion.externalsOutputFormatProperty
|
||||
import org.jetbrains.kotlin.gradle.targets.native.DisabledNativeTargetsReporter
|
||||
import org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.tasks.CacheBuilder
|
||||
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.utils.SingleWarningPerBuild
|
||||
@@ -89,8 +88,19 @@ internal class PropertiesProvider private constructor(private val project: Proje
|
||||
val usePreciseJavaTracking: Boolean?
|
||||
get() = booleanProperty("kotlin.incremental.usePreciseJavaTracking")
|
||||
|
||||
private val useFallbackCompilerSearchPropName = "kotlin.useFallbackCompilerSearch"
|
||||
|
||||
@Deprecated("Unsupported and will be removed in next major releases")
|
||||
val useFallbackCompilerSearch: Boolean?
|
||||
get() = booleanProperty("kotlin.useFallbackCompilerSearch")
|
||||
get() {
|
||||
if (property(useFallbackCompilerSearchPropName) != null) {
|
||||
SingleWarningPerBuild.show(
|
||||
project,
|
||||
"Project property '$useFallbackCompilerSearchPropName' is deprecated."
|
||||
)
|
||||
}
|
||||
return booleanProperty(useFallbackCompilerSearchPropName)
|
||||
}
|
||||
|
||||
val keepMppDependenciesIntactInPoms: Boolean?
|
||||
get() = booleanProperty("kotlin.mpp.keepMppDependenciesIntactInPoms")
|
||||
|
||||
Reference in New Issue
Block a user