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

Add support to gradle configuration cache #28

Open
apssouza22 opened this issue Jan 4, 2024 · 2 comments
Open

Add support to gradle configuration cache #28

apssouza22 opened this issue Jan 4, 2024 · 2 comments

Comments

@apssouza22
Copy link

apssouza22 commented Jan 4, 2024

It seems that this plugin doesn't support the gradle configuration. Any plan to support it?

- Task `:platform:runtime:quarkus:base:jandex` of type `org.kordamp.gradle.plugin.jandex.tasks.JandexTask`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

@aalmiray
Copy link
Collaborator

aalmiray commented Jan 5, 2024

Is this feature out of incubation?

The docs still list the following:


This feature is currently not enabled by default. This feature has the following limitations:

The configuration cache does not support all core Gradle plugins and features. Full support is a work in progress.

Your build and the plugins you depend on might require changes to fulfil the requirements.

IDE imports and syncs do not yet use the configuration cache.

@apssouza22
Copy link
Author

@aalmiray yes. It is in broadly available and with full support for Gradle Java plugin. However it requires some changes in the community plugins to fully support it.

Quarkus plugin support it and it dramatically improve our build time, however we are blocked to use it with Quarkus multiple modules project because this plugin.

https://quarkus.io/guides/gradle-tooling#gradle-configuration-cache

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

2 participants