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

Fixes #204: require explicitly enabling ScalaPactPlugin on projects. #210

Merged
merged 3 commits into from
Jan 19, 2021

Conversation

solarmosaic-kflorence
Copy link
Contributor

@solarmosaic-kflorence solarmosaic-kflorence commented Jan 15, 2021

Using allRequirements means that the plugin is automatically applied to every project in a multi-project build, which can be problematic for projects which don't need the plugin. Using noTrigger means you must explicitly enable the plugin on each project with .enablePlugins(ScalaPactPlugin).

Note: this should be considered a breaking change, even though it matches the documented use of the plugin, so at the very least it should be released as a minor version update.

@jbwheatley
Copy link
Contributor

#204 for visibility

Copy link
Contributor

@davesmith00000 davesmith00000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not know about noTrigger! Thanks, LGTM. 👍

@jbwheatley jbwheatley merged commit da2173a into ITV:master Jan 19, 2021
@solarmosaic-kflorence solarmosaic-kflorence deleted the sbt-multiproject/204 branch January 19, 2021 17:24
@solarmosaic-kflorence
Copy link
Contributor Author

Thanks all -- would be great to get a release for this one as well. I would suggest a minor version bump just to respect semantic versioning.

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.

3 participants