[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")
@get:Input
val target: String
get() = compilation.konanTarget.name
val target: String = compilation.konanTarget.name
@Deprecated("Use 'embedBitcodeMode' provider instead.", ReplaceWith("embedBitcodeMode.get()"))
@get:Internal
@@ -286,7 +285,7 @@ constructor(
@Suppress("DEPRECATION", "DeprecatedCallableAddReplaceWith")
@Deprecated("Please declare explicit dependency on kotlinx-cli. This option is scheduled to be removed in 1.9.0")
@get:Input
val enableEndorsedLibs: Boolean get() = compilation.enableEndorsedLibs
val enableEndorsedLibs: Boolean by lazy { compilation.enableEndorsedLibs }
@Internal
val compilerPluginOptions = CompilerPluginOptions()