Dmitry Danilau
12/22/2023, 3:42 PMorg.gradle.caching=true
org.gradle.configuration-cache=true
I receive these errors while building the app
- 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
org.gradle.caching=true
org.gradle.configuration-cache=false
everything is fine
ty in advance ! =)Dmitry Danilau
12/22/2023, 3:47 PMConfiguration 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)
Dmitry Danilau
12/22/2023, 3:52 PMTadeas Kriz
12/22/2023, 5:59 PMDmitry Danilau
12/22/2023, 6:13 PM