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 staging repo description configurable #36

Merged
merged 3 commits into from
Jun 1, 2020

Conversation

marcphilipp
Copy link
Member

The description can now be customized on the extension or individual
tasks and now defaults to the GAV of the root project.

In addition, the User-Agent (which is shown in Nexus UI) is now
customized to gradle-nexus-publish-plugin/<version>.

Resolves #31.

@marcphilipp marcphilipp requested a review from szpak May 31, 2020 13:35
@marcphilipp marcphilipp self-assigned this May 31, 2020
The description can now be customized on the extension or individual
tasks and now defaults to the GAV of the root project.

Resolves #31.
@marcphilipp marcphilipp force-pushed the marc/31-configurable-description branch from abc2fd3 to 601a78a Compare May 31, 2020 13:39
@@ -186,6 +189,9 @@ tasks {
useJUnitPlatform()
maxParallelForks = 8
}
withType<Test>().matching { it.name.startsWith("compatTest") }.configureEach {
systemProperty("plugin.version", project.version)
Copy link
Contributor

Choose a reason for hiding this comment

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

We can probably set for all the tests, not just compatTest (to reuse the previous section in build.gradle).

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't want to add an unnecessary input to the other test tasks.

@marcphilipp marcphilipp requested a review from szpak May 31, 2020 18:40
@szpak
Copy link
Contributor

szpak commented May 31, 2020

@marcphilipp You have some style violations.

@marcphilipp marcphilipp force-pushed the marc/31-configurable-description branch from 49395c2 to 14512e4 Compare June 1, 2020 17:13
@marcphilipp marcphilipp merged commit 18dc5b3 into master Jun 1, 2020
@marcphilipp marcphilipp deleted the marc/31-configurable-description branch June 1, 2020 17: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.

RFE: Make the description of the Nexus staging repo configurable
2 participants