Skip to content

Specify additional task outputs - #1237

Merged
nedtwigg merged 2 commits into
diffplug:mainfrom
welandaz:build-process-optimization
Jun 14, 2022
Merged

nedtwigg merged 2 commits into
diffplug:mainfrom
welandaz:build-process-optimization

Conversation

@welandaz

Copy link
Copy Markdown
Contributor

Hi everyone!

In order to optimise the build process in terms of incremental build and enable additional caching possibilities (https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks and https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_enable), I've specified additional task outputs.

Those mainly concern spotbugs set up and maven-plugin build process.
With these changes, incremental build is fully supported for all tasks and spotbugs runs are fully cached as well.

Additional caching can also be done for maven-plugin tests, but those changes may involve more extensive build rewrite, so if you're interested, I can create a separate issue about that, so that we can discuss it outside of this PR.

Looking forward to your feedback!
Thanks!

@nedtwigg
nedtwigg enabled auto-merge June 14, 2022 23:22
@nedtwigg

Copy link
Copy Markdown
Member

Thanks very much!

Additional caching can also be done for maven-plugin tests, but those changes may involve more extensive build rewrite

That would be very welcome! Let's discuss that at #554.

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

Successfully merging this pull request may close these issues.

2 participants