https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

Kirill Zhukov

02/10/2023, 4:22 AM
Does Configuration Caching work Kotlin/Native 1.8.0 today? I see KT-43293 which looks to be resolved
Copy code
$ gradle assembleSharedXCFramework --configuration-cache

Configuration cache problems found in this build.

2 problems were found reusing the configuration cache.
- Task `:shared:xc-framework:linkDebugFrameworkIosArm64` of type `org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink`: value '{org.jetbrains.kotlin.native.target=ios_arm64}' is not assignable to 'org.jetbrains.kotlin.gradle.plugin.mpp.HierarchyAttributeContainer'
- Task `:shared:xc-framework:linkDebugFrameworkIosSimulatorArm64` of type `org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink`: value '{org.jetbrains.kotlin.native.target=ios_simulator_arm64}' is not assignable to 'org.jetbrains.kotlin.gradle.plugin.mpp.HierarchyAttributeContainer'
s

Sebastian Sellmair [JB]

02/10/2023, 8:08 AM
No. GCC will get initial support in 1.9.0
u

ubuntudroid

02/11/2023, 3:48 PM
For me Gradle seems to automatically use the configuration cache when building iOS multiplatform projects. Anyone knows how to disable it just for those builds?
My bad, the project did define using the configuration cache in gradle.properties.
2 Views