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

Implement native cmd for gradle plugin #963

Merged
merged 3 commits into from
Oct 12, 2021

Conversation

carhartl
Copy link
Contributor

@carhartl carhartl commented Oct 11, 2021

Evolution of #959.. now instead of adding an implementation for a single, particular binary, e.g. Terraform, this implements the native cmd step capability already existing in core and the Maven plugin for Gradle, allowing to run formatting tasks in Gradle with arbitrary binaries.

I felt this is adding more value while adding less code to maintain, even though we loose the ability to demand a particular version for the terraform binary.. :)

Updated https://github.com/carhartl/spotless-terraform-test accordingly..

@carhartl carhartl marked this pull request as draft October 11, 2021 15:57
@carhartl carhartl force-pushed the implement-nativecmd-gradle-plugin branch from 87721a1 to b844080 Compare October 11, 2021 17:05
@carhartl carhartl marked this pull request as ready for review October 11, 2021 17:18
@nedtwigg
Copy link
Member

Looks great! I'll give it ~24hrs then merge and release.

@nedtwigg nedtwigg merged commit f22977d into diffplug:main Oct 12, 2021
@carhartl carhartl deleted the implement-nativecmd-gradle-plugin branch October 12, 2021 18:57
@nedtwigg
Copy link
Member

Published in plugin-gradle 5.17.0

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