Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reloading not working in korge-helo-world-client-server #1495

Closed
soywiz opened this issue Mar 30, 2023 · 1 comment · Fixed by #1509
Closed

Hot reloading not working in korge-helo-world-client-server #1495

soywiz opened this issue Mar 30, 2023 · 1 comment · Fixed by #1509

Comments

@soywiz
Copy link
Member

soywiz commented Mar 30, 2023

Configuration cache state could not be cached: field `variants` of `org.gradle.api.plugins.internal.DefaultAdhocSoftwareComponent` bean found in field `$adhocVariant` of `org.jetbrains.kotlin.gradle.plugin.mpp.AbstractKotlinTarget$buildAdhocComponentsFromKotlinVariants$1$2` bean found in field `element` of `java.util.Collections$SingletonSet` bean found in field `value` of `kotlin.InitializedLazyImpl` bean found in field `components$delegate` of `org.jetbrains.kotlin.gradle.targets.jvm.KotlinJvmTarget` bean found in field `target` of `org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCompilationDetailsWithRuntime` bean found in field `compilationDetails` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmCompilation` 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 `sourceSetsAddedEagerly` of `org.jetbrains.kotlin.gradle.plugin.mpp.JsIrCompilationDetails` bean found in field `compilationDetails` of `org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrCompilation` 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.targets.js.ir.KotlinJsIrTarget` bean found in field `this$0` of `org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrTarget$commonLazy$2$1$1` bean found in field `function` of `org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrTarget$sam$org_gradle_api_Action$0` bean found in field `val$action` of `org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1` bean found in field `delegate` of `org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction` bean found in field `val$action` of `org.gradle.api.internal.collections.CollectionFilter$1` bean found in field `multipleActions` of `org.gradle.internal.ImmutableActionSet$SetWithManyActions` bean found in field `addActions` of `org.gradle.api.internal.collections.DefaultCollectionEventRegister` bean found in field `eventRegister` of `org.gradle.api.internal.DefaultDomainObjectSet` bean found in field `$$delegate_0` of `org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsBinaryContainer` bean found in field `binaries` of `org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrCompilation` 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 `kotlinSourceSet` of `org.jetbrains.kotlin.gradle.plugin.mpp.GranularMetadataTransformation` bean found in field `value` of `kotlin.InitializedLazyImpl` bean found in field `parentTransformations` of `org.jetbrains.kotlin.gradle.plugin.mpp.GranularMetadataTransformation` bean found in field `dependencyTransformations` of `org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet` bean found in field `sourceSetsAddedEagerly` of `org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCompilationDetailsWithRuntime` bean found in field `compilationDetails` of `org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmCompilation` bean found in field `$compilation` of `korlibs.korge.gradle.KorgeProcessResourcesKt$addGenResourcesTasks$4$1` bean found in field `action` of `org.gradle.api.internal.AbstractTask$TaskActionWrapper` bean found in field `actions` of task `:shared:korgeProcessedResourcesJvmMain` of type `org.gradle.api.DefaultTask`: error writing value of type 'java.util.LinkedHashMap'
> Resolving dependency configuration 'jvmApiElements-published' is not allowed as it is defined as 'canBeResolved=false'.
  Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'jvmApiElements-published' should be resolved.
@soywiz
Copy link
Member Author

soywiz commented Mar 30, 2023

We should figure out a way to test this automatically to avoid regressions, since this is really delicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant