* fixed: robovm build fails if project uses configuration cache - #866
Merged
Tom-Ski merged 1 commit intoAug 10, 2026
Merged
Conversation
while robovm plugin doesn't support caching it should not fail build of projects that configured with cache. steps to reproduce: > ./gradlew --configuration-cache launchIPhoneSimulator exception: ``` 1: Task failed with an exception. ----------- * What went wrong: Configuration cache state could not be cached: field `nakedExpressions` of `org.codehaus.plexus.interpolation.PrefixAwareRecursionInterceptor` bean found in field `recursionInterceptor` of `org.apache.maven.model.interpolation.StringSearchModelInterpolator` bean found in field `modelInterpolator` of `org.apache.maven.model.building.DefaultModelBuilder` bean found in field `modelBuilder` of `org.apache.maven.repository.internal.DefaultArtifactDescriptorReader` bean found in field `artifactDescriptorReader` of `org.sonatype.aether.impl.internal.DefaultRepositorySystem` bean found in field `repositorySystem` of task `:launchIPhoneSimulator` of type `org.robovm.gradle.tasks.IPhoneSimulatorTask`: error writing value of type 'java.util.Stack' > 'ObjectOutputStream.putFields' is not supported by the Gradle configuration cache. See https://docs.gradle.org/9.6.1/userguide/configuration_cache_status.html#config_cache:not_yet_implemented:java_serialization for details. 2: Task failed with an exception. ----------- * What went wrong: Configuration cache problems found in this build. 3 problems were found storing the configuration cache, 2 of which seem unique. - Task `:launchIPhoneSimulator` of type `org.robovm.gradle.tasks.IPhoneSimulatorTask`: 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/9.6.1/userguide/configuration_cache_requirements.html#config_cache:requirements:disallowed_types - Task `:launchIPhoneSimulator` of type `org.robovm.gradle.tasks.IPhoneSimulatorTask`: error writing value of type 'java.util.Stack' ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
while robovm plugin doesn't support caching it should not fail build of projects that configured with cache.
steps to reproduce:
exception: