Skeptick / libres

Resources generation in Kotlin Multiplatform
Apache License 2.0
210 stars 12 forks source link

Support for Gradle configuration cache #60

Open vvvladvvvolkovvvskiy opened 10 months ago

vvvladvvvolkovvvskiy commented 10 months ago

Problem with ios target(only) KMP project created by default template, don't work Fix : disable configuration-cache at gradle.properties org.gradle.configuration-cache=false

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 underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field dependsOnClosureImpl 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 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 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 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 notOnlyJsSourceSets of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field sourceSets of org.jetbrains.kotlin.gradle.plugin.hierarchy.KotlinHierarchyDslImpl bean found in field value of kotlin.InitializedLazyImpl bean found in field hierarchy$delegate of org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension bean found in field $multiplatformExtension of io.github.skeptick.libres.plugin.ResourcesPlugin$registerSetupIosExportTasks$setupPodspecTask$1$1 bean found in field capturedArgs of java.lang.invoke.SerializedLambda bean found in field action of org.gradle.api.internal.AbstractTask$TaskActionWrapper bean found in field actions of task :shared:libresSetupPodspecExports of type org.gradle.api.DefaultTask: error writing value of type 'java.util.LinkedHashMap'

java.util.ConcurrentModificationException (no error message)