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

Configuration Cache not working #255

Open
sn0wy0wly opened this issue Jan 29, 2024 · 0 comments
Open

Configuration Cache not working #255

sn0wy0wly opened this issue Jan 29, 2024 · 0 comments

Comments

@sn0wy0wly
Copy link

Hello,

We are having a springboot application that we want to use with nebula. When running the build task with configuration-cache activated, we get the following report:

⌄⚠️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.[ ?](https://docs.gradle.org/8.5/userguide/configuration_cache.html#config_cache:requirements:disallowed_types) ⌄fieldproject📋 of nebula.plugin.release.OverrideStrategies$GradlePropertyStrategy📋 ⌄bean of type nebula.plugin.release.OverrideStrategies$GradlePropertyStrategy📋 ⌄fieldversionStrategies📋 of nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄fieldthis$0📋 of nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄fieldprojectVersion📋 of org.springframework.boot.gradle.tasks.bundling.BootJar📋 ■task:app:bootJar📋 of type org.springframework.boot.gradle.tasks.bundling.BootJar📋 ⌄fieldproject📋 of nebula.plugin.release.OverrideStrategies$ReleaseLastTagStrategy📋 ⌄bean of type nebula.plugin.release.OverrideStrategies$ReleaseLastTagStrategy📋 ⌄fieldversionStrategies📋 of nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄fieldthis$0📋 of nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄fieldprojectVersion📋 of org.springframework.boot.gradle.tasks.bundling.BootJar📋 ■task:app:bootJar📋 of type org.springframework.boot.gradle.tasks.bundling.BootJar📋 ⌄fieldproject📋 of nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄fieldthis$0📋 of nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄fieldprojectVersion📋 of org.springframework.boot.gradle.tasks.bundling.BootJar📋 ■task:app:bootJar📋 of type org.springframework.boot.gradle.tasks.bundling.BootJar📋 ⌄fieldvalue📋 of groovy.lang.Reference📋 ⌄bean of type groovy.lang.Reference📋 ⌄fieldproject📋 of nebula.plugin.release.NetflixOssStrategies$_developmentMetadataStrategy_closure3📋 ⌄bean of type nebula.plugin.release.NetflixOssStrategies$_developmentMetadataStrategy_closure3📋 ⌄fielddelegate📋 of org.codehaus.groovy.runtime.ConvertedClosure📋 ⌄bean of type org.codehaus.groovy.runtime.ConvertedClosure📋 ⌄fieldbuildMetadataStrategy📋 of nebula.plugin.release.git.semver.SemVerStrategy📋 ⌄bean of type nebula.plugin.release.git.semver.SemVerStrategy📋 ⌄fielddefaultVersionStrategy📋 of nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄fieldthis$0📋 of nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄fieldprojectVersion📋 of org.springframework.boot.gradle.tasks.bundling.BootJar📋 ■task:app:bootJar📋 of type org.springframework.boot.gradle.tasks.bundling.BootJar📋 ⌄fieldversionStrategies📋 of nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension📋 ⌄fieldthis$0📋 of nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄bean of type nebula.plugin.release.git.base.ReleasePluginExtension$DelayedVersion📋 ⌄fieldprojectVersion📋 of org.springframework.boot.gradle.tasks.bundling.BootJar📋 ■task:app:bootJar📋 of type org.springframework.boot.gradle.tasks.bundling.BootJar📋

We are using the following versions:

Nebula release: 18.0.4 (also same issue with 19.0.4)
Spring-Boot: 3.2.2

When we don't apply the nebula plugin, the configuration cache build works.

Thank you in advance

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

No branches or pull requests

1 participant