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

Make publication validator part of the main gradle project #1820

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

dkhalanskyjb
Copy link
Contributor

Before, publication validator was just lying nearby, in these
files, and built and run separately. Now, it is compiled
alongside the main project (in the test gradle configuration), so
its breakage will be detected during normal usage. Still, it is
only run when a special gradle property, DeployVersion, is
defined.

Merging this requires changing the Dependency validation build configuration on TeamCity to only consist of a single step that calls gradle -PdryRun=true testPublishing.

@dkhalanskyjb dkhalanskyjb force-pushed the publication-validator-gradle-fix branch from 53061c5 to e5d79fc Compare February 21, 2020 13:41
Before, publication validator was just lying nearby, in these
files, and built and run separately. Now, it is compiled
alongside the main project (in the `test` gradle configuration), so
its breakage will be detected during normal usage. Still, it is
only run when a special gradle property, `DeployVersion`, is
defined.
@dkhalanskyjb dkhalanskyjb force-pushed the publication-validator-gradle-fix branch from e5d79fc to 7f04b65 Compare February 21, 2020 13:58
Copy link
Collaborator

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

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

Great!

@qwwdfsad qwwdfsad merged commit 3651276 into develop Feb 21, 2020
@qwwdfsad qwwdfsad deleted the publication-validator-gradle-fix branch February 21, 2020 14:31
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.

None yet

2 participants