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

Support for Gradle's Configuration cache #66

Open
pupnewfster opened this issue Jun 27, 2024 · 0 comments
Open

Support for Gradle's Configuration cache #66

pupnewfster opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pupnewfster
Copy link

Is your suggested enhancement related to a problem? Please describe.

20 problems were found storing the configuration cache, 7 of which seem unique.
- Task `:additionsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: cannot serialize object of type 'org.gradle.api.tasks.bundling.Jar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:additionsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:generatorsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: cannot serialize object of type 'org.gradle.api.tasks.bundling.Jar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:generatorsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:modrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:toolsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: cannot serialize object of type 'org.gradle.api.tasks.bundling.Jar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:toolsModrinth` of type `com.modrinth.minotaur.TaskModrinthUpload`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

Describe the solution you'd like

Support for Gradle's configuration cache system: https://docs.gradle.org/current/userguide/configuration_cache.html

Describe alternatives you've considered

Manually specifying in the task that it is not compatible with the configuration cache:
notCompatibleWithConfigurationCache('Not yet compatible')

Additional context

No response

@pupnewfster pupnewfster added the enhancement New feature or request label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant