[Gradle, K/N] Configuration cache support for run with warns
#KT-42849 Fixed
This commit is contained in:
+2
-1
@@ -64,7 +64,8 @@ open class KotlinNativeTarget @Inject constructor(
|
|||||||
metadataJar.archiveAppendix.set(project.provider { disambiguationClassifier.orEmpty().toLowerCase() })
|
metadataJar.archiveAppendix.set(project.provider { disambiguationClassifier.orEmpty().toLowerCase() })
|
||||||
metadataJar.archiveClassifier.set("metadata")
|
metadataJar.archiveClassifier.set("metadata")
|
||||||
|
|
||||||
metadataJar.onlyIf { this@KotlinNativeTarget.publishable }
|
val publishable = this@KotlinNativeTarget.publishable
|
||||||
|
metadataJar.onlyIf { publishable }
|
||||||
|
|
||||||
val metadataCompilations = hostSpecificSourceSets.mapNotNull {
|
val metadataCompilations = hostSpecificSourceSets.mapNotNull {
|
||||||
project.getMetadataCompilationForSourceSet(it)
|
project.getMetadataCompilationForSourceSet(it)
|
||||||
|
|||||||
+3
-2
@@ -93,8 +93,9 @@ sealed class NativeBinary(
|
|||||||
buildDir.resolve("bin/$targetSubDirectory${this@NativeBinary.name}")
|
buildDir.resolve("bin/$targetSubDirectory${this@NativeBinary.name}")
|
||||||
}
|
}
|
||||||
|
|
||||||
val outputFile: File
|
val outputFile: File by lazy {
|
||||||
get() = linkTask.outputFile.get()
|
linkTask.outputFile.get()
|
||||||
|
}
|
||||||
|
|
||||||
// Named implementation.
|
// Named implementation.
|
||||||
override fun getName(): String = name
|
override fun getName(): String = name
|
||||||
|
|||||||
Reference in New Issue
Block a user