Convert `SpotlessTaskModern` to use `InputChanges` API by bigdaz · Pull Request #607 · diffplug/spotless

@bigdaz

This minimal change updates the task to use the non-deprecated
InputChanges API, making it compatible with an upcoming Gradle 7.0
release. This addresses one part of #601.

I haven't updated CHANGES.md since "spotlessModern" is not yet mentioned.

@bigdaz

This minimal change updates the task to use the non-deprecated
`InputChanges` API, making it compatible with an upcoming Gradle 7.0
release.

@nedtwigg

@bigdaz

@nedtwigg

@bigdaz

@nedtwigg

Wow, what an elegant solution! This looks ready to merge to me, feel free to push merge whenever you'd like (or ask me if you'd prefer not to accept the committer invite I just sent you).

@bigdaz

Thanks @nedtwigg. I've accepted your invite to the Diffplug org, but I want to state up front that I'm very unlikely to have capacity to stay involved in the development of Spotless long-term. My goal is to get the plugin into a good state and work well with the Gradle remote cache, then I'll probably disappear.

But it's certainly nice to be asked :).

@bigdaz bigdaz deleted the dd/inputchanges branch

June 11, 2020 23:35

@nedtwigg

Sounds great! Being a committer on the Spotless team comes with no duties, only privileges :) Now you can restart a failed CI job if you think it was flaky, merge-at-will, etc. If you can figure out how to make a project loosely-coupled (as we have for Spotless), then I think the ideas of OPEN open source are useful.