Configuration cache issue
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 18
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Description
$ ./gradlew librarianPublishToMavenCentral
Calculating task graph as no cached configuration is available for tasks: librarianPublishToMavenCentral
FAILURE: Build failed with an exception.
- What went wrong:
Configuration cache problems found in this build.
2 problems were found storing the configuration cache, 1 of which seems unique.
- Task
:polycast-core:generatePomFileForKotlinMultiplatformPublicationof typeorg.gradle.api.publish.maven.tasks.GenerateMavenPom: cannot serialize object of type 'org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication', a subtype of 'org.gradle.api.publish.Publication', as these are not supported with the configuration cache.
See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing ./gradlew librarianPublishToMavenCentral and inspect the configuration-cache failure for :polycast-core:generatePomFileForKotlinMultiplatformPublication. Determine what change is needed to make this publication task compatible with configuration caching, then verify that the command completes and can reuse the cache.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100