[Gradle] Support Configuration Cache for Link task

^KT-54339 Verification Pending
This commit is contained in:
Anton Lakotka
2022-10-11 09:56:08 +02:00
committed by Space Team
parent 50b892f2f1
commit 4cda8f35bc
@@ -189,8 +189,7 @@ constructor(
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
@get:Input @get:Input
val target: String val target: String = compilation.konanTarget.name
get() = compilation.konanTarget.name
@Deprecated("Use 'embedBitcodeMode' provider instead.", ReplaceWith("embedBitcodeMode.get()")) @Deprecated("Use 'embedBitcodeMode' provider instead.", ReplaceWith("embedBitcodeMode.get()"))
@get:Internal @get:Internal
@@ -286,7 +285,7 @@ constructor(
@Suppress("DEPRECATION", "DeprecatedCallableAddReplaceWith") @Suppress("DEPRECATION", "DeprecatedCallableAddReplaceWith")
@Deprecated("Please declare explicit dependency on kotlinx-cli. This option is scheduled to be removed in 1.9.0") @Deprecated("Please declare explicit dependency on kotlinx-cli. This option is scheduled to be removed in 1.9.0")
@get:Input @get:Input
val enableEndorsedLibs: Boolean get() = compilation.enableEndorsedLibs val enableEndorsedLibs: Boolean by lazy { compilation.enableEndorsedLibs }
@Internal @Internal
val compilerPluginOptions = CompilerPluginOptions() val compilerPluginOptions = CompilerPluginOptions()