We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@MarvinSchramm it's a great thing that you wrote a plugin that supports Gradle configuration cache given the state of the Spring recommended plugin.
The plugin works for the configuration cache I can confirm but it doesn't for the build-cache
Another day I opened the issue in the latter mentioned plugin in regards to build-cache support but it wasn't addressed. And it's relevant for this
The problem is that git.properties becomes the part of outputs, so it affects the inputs of all the next tasks which makes it non-incremental.
git.properties
Input property 'classpathSnapshotProperties.classpath' file /Users/artemptushkin/...build/resources/main/git.properties has changed.
Here is the relevant (same) code in the old plugin
I generate the git.properties file only when I build the image but the solution could be more generic:
If you address this, this plugin would be so much more compatible with Gradle, if I were Spring I'd start using yours!
The text was updated successfully, but these errors were encountered:
@artemptushkin Gradle has "normalization" for that purpose: https://docs.gradle.org/current/userguide/build_cache_concepts.html#normalization
normalization { runtimeClasspath { ignore("build-info.properties") } }
Sorry, something went wrong.
No branches or pull requests
@MarvinSchramm it's a great thing that you wrote a plugin that supports Gradle configuration cache given the state of the Spring recommended plugin.
Problem
The plugin works for the configuration cache I can confirm but it doesn't for the build-cache
Another day I opened the issue in the latter mentioned plugin in regards to build-cache support but it wasn't addressed. And it's relevant for this
The problem is that
git.properties
becomes the part of outputs, so it affects the inputs of all the next tasks which makes it non-incremental.Here is the relevant (same) code in the old plugin
Idea
I generate the git.properties file only when I build the image but the solution could be more generic:
If you address this, this plugin would be so much more compatible with Gradle, if I were Spring I'd start using yours!
The text was updated successfully, but these errors were encountered: