Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enables build caching, which will improve both local and CI build times. For local builds it enables only the local cache, and for CI builds it enables only the remote cache, as proposed in the Eclipse Develocity documentation.
After running some tests, when cache is enabled, as the average build is 28% quicker for consecutive builds than no Develocity extension -> 2:31 min vs 2:08 min.
This speedup is even more visible when tests are executed (running
mvn clean install
), as the build is already ~56% quicker, without any further caching optimisations. Without the cache, average build takes 27:45 min (ignoring the ~14sec ones, which are failed) without the cache, while average with the cache takes 14min with the seeding build, with consecutive builds taking on average just 12:18 min.This PR relates to issue eclipse-ee4j#25322 and includes the changes from PR eclipse-ee4j#25342.