Hello, I’m using skie plugin and seems like there ...
# touchlab-tools
d
Hello, I’m using skie plugin and seems like there is some issues with gradle configuration cache. kotlin version - 1.9.21 agp - 8.2.0 skie plugin version - 0.5.6/0.6.0 With this settings,
Copy code
org.gradle.caching=true
org.gradle.configuration-cache=true
I receive these errors while building the app
Copy code
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'com.android.build.gradle.internal.tasks.DexMergingTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'com.android.build.gradle.tasks.GenerateResValues', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'com.android.build.gradle.tasks.MergeResources', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'com.android.build.gradle.tasks.ProcessTestManifest', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.DefaultTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.internal.file.DefaultSourceDirectorySet', a subtype of 'org.gradle.api.file.SourceDirectorySet', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types>
- Task `:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types>
While i disable configuration cache
Copy code
org.gradle.caching=true
org.gradle.configuration-cache=false
everything is fine ty in advance ! =)
Also might be useful
Copy code
Configuration cache state could not be cached: field `singleStorage` of `com.android.build.api.artifact.impl.TypedStorageProvider` bean found in field `directory` of `com.android.build.api.artifact.impl.StorageProviderImpl` bean found in field `storageProvider` of `com.android.build.api.artifact.impl.ArtifactsImpl` bean found in field `artifacts` of `com.android.build.gradle.internal.variant.TestVariantData` bean found in field `variantData` of `com.android.build.gradle.internal.api.TestVariantImpl` bean found in field `testVariant` of `com.android.build.gradle.internal.api.LibraryVariantImpl` bean found in field `testedVariant` of `com.android.build.gradle.internal.api.UnitTestVariantImpl` bean found in field `androidVariant` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmAndroidCompilation` bean found in field `underlying` of `org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl` bean found in field `compilations` of `org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet` bean found in field `value` of `org.jetbrains.kotlin.tooling.core.Extras$Entry` bean found in field `extras` of `org.jetbrains.kotlin.tooling.core.MutableExtrasImpl` bean found in field `extras` of `org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl` bean found in field `this$0` of `org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$associateWith$2` bean found in field `forAllActions` of `org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl` bean found in field `allAssociatedCompilationsImpl` of `org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl` bean found in field `compilation` of `org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactory` bean found in field `factory` of `org.gradle.api.internal.FactoryNamedDomainObjectContainer` bean found in field `cinterops` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation` bean found in field `underlying` of `org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl` bean found in field `compilations` of `org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet` bean found in field `value` of `org.jetbrains.kotlin.tooling.core.Extras$Entry` bean found in field `extras` of `org.jetbrains.kotlin.tooling.core.MutableExtrasImpl` bean found in field `extras` of `org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl` bean found in field `$$delegate_0` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinSharedNativeCompilation` bean found in field `map` of `org.gradle.api.internal.DefaultNamedDomainObjectCollection$UnfilteredIndex` bean found in field `index` of `org.gradle.api.internal.FactoryNamedDomainObjectContainer` bean found in field `compilations` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMetadataTarget` bean found in field `metadataTarget` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinVariantWithMetadataVariant` bean found in field `element` of `java.util.Collections$SingletonSet` bean found in field `value` of `kotlin.InitializedLazyImpl` bean found in field `kotlinComponents$delegate` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget` bean found in field `target` of `co.touchlab.skie.plugin.util.SkieTarget$TargetBinary` bean found in field `__target__` of task `:sample:shared:skieConfigureMinOsVersionDebugFrameworkIosArm64` of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: error writing value of type 'java.util.LinkedHashMap'
> java.util.ConcurrentModificationException (no error message)
ah, probably it is known issue, just found an issue in the gh repo https://github.com/touchlab/SKIE/issues/34
t
Hey, thanks for the extra info. You're right that SKIE currently isn't compatible with GCC, but it's on our list and we'll be adding support to it hopefully soon.
K 1
d
Ty for a quick response!
140 Views