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

Configuration option to fail build if stuff is out of date #431

Closed
binkley opened this issue Oct 4, 2020 · 3 comments
Closed

Configuration option to fail build if stuff is out of date #431

binkley opened this issue Oct 4, 2020 · 3 comments

Comments

@binkley
Copy link

binkley commented Oct 4, 2020

(Please see sister issue for the Maven versions plugin: mojohaus/versions#387)

I'm working on an article on "Modern Java/JVM Build Practices", and this plugin is one of the recommendations for Gradle.

I'd like to offer advice on failing the build if plugins/dependencies are out of date -- with an eye to helping teams that want explicit version exclusions when needed.

What do you suggest?

@ben-manes
Copy link
Owner

ben-manes commented Oct 4, 2020

This can be done by specifying an output formatter. This allows for evaluating the report programmatically and failing the build if desired. See this user’s build as an example.

@binkley
Copy link
Author

binkley commented Oct 9, 2020

@ben-manes Thank you!

I'm working on an article on Gradle and Maven builds. This is just the kind of "how to" link I was looking for.

@jaredsburrows
Copy link
Collaborator

Closing this as it is a question.

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

No branches or pull requests

3 participants