Make native tasks CC compatible
This allows running with CC&native: ./gradlew assemble ./gradlew :kotlin-native:bundle ./gradlew :native:native.tests:test Required for KTI-1553
This commit is contained in:
committed by
Space Team
parent
584d98cd72
commit
57edc413a3
@@ -91,6 +91,7 @@ konanTargetList.forEach { target ->
|
||||
|
||||
if (target in cacheableTargets) {
|
||||
val cacheTask = tasks.register("${libName}Cache", KonanCacheTask::class.java) {
|
||||
notCompatibleWithConfigurationCache("project used in execution time")
|
||||
this.target = targetName
|
||||
originalKlib.fileProvider(libTask.map {
|
||||
it.artifactDirectory ?: error("Artifact wasn't set for ${it.name}")
|
||||
|
||||
Reference in New Issue
Block a user