[Gradle] Don't use project in gradle task's input properties
With Gradle 8.1 it is now unsupported with Configuration Cache ^KT-58062 Verification Pending ^KT-58063 Verification Pending
This commit is contained in:
committed by
Space Team
parent
ab82027f86
commit
40d29d13bf
+3
-4
@@ -165,10 +165,9 @@ internal open class CInteropCommonizerTask
|
|||||||
|
|
||||||
@Suppress("unused") // Used for UP-TO-DATE check
|
@Suppress("unused") // Used for UP-TO-DATE check
|
||||||
@get:Classpath
|
@get:Classpath
|
||||||
protected val commonizerDependenciesClasspath: FileCollection
|
protected val commonizerDependenciesClasspath: FileCollection = project.filesProvider {
|
||||||
get() = project.files(
|
groupedCommonizerDependencies.getOrThrow().values.flatten().map { it.dependencies }
|
||||||
groupedCommonizerDependencies.getOrThrow().values.flatten().map { it.dependencies }
|
}
|
||||||
)
|
|
||||||
|
|
||||||
@get:Nested
|
@get:Nested
|
||||||
internal var cinterops = setOf<CInteropGist>()
|
internal var cinterops = setOf<CInteropGist>()
|
||||||
|
|||||||
+1
-2
@@ -111,8 +111,7 @@ constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@get:Input
|
@get:Input
|
||||||
internal val useEmbeddableCompilerJar: Boolean
|
internal val useEmbeddableCompilerJar: Boolean = project.nativeUseEmbeddableCompilerJar
|
||||||
get() = project.nativeUseEmbeddableCompilerJar
|
|
||||||
|
|
||||||
@Suppress("unused", "UNCHECKED_CAST")
|
@Suppress("unused", "UNCHECKED_CAST")
|
||||||
@Deprecated(
|
@Deprecated(
|
||||||
|
|||||||
+2
-4
@@ -220,15 +220,13 @@ abstract class AbstractKotlinNativeCompile<
|
|||||||
get() = false
|
get() = false
|
||||||
|
|
||||||
@get:Input
|
@get:Input
|
||||||
val kotlinNativeVersion: String
|
val kotlinNativeVersion: String = project.konanVersion
|
||||||
get() = project.konanVersion.toString()
|
|
||||||
|
|
||||||
@get:Input
|
@get:Input
|
||||||
val artifactVersion = project.version.toString()
|
val artifactVersion = project.version.toString()
|
||||||
|
|
||||||
@get:Input
|
@get:Input
|
||||||
internal val useEmbeddableCompilerJar: Boolean
|
internal val useEmbeddableCompilerJar: Boolean = project.nativeUseEmbeddableCompilerJar
|
||||||
get() = project.nativeUseEmbeddableCompilerJar
|
|
||||||
|
|
||||||
@get:Internal
|
@get:Internal
|
||||||
open val outputFile: Provider<File>
|
open val outputFile: Provider<File>
|
||||||
|
|||||||
Reference in New Issue
Block a user