-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
The description can now be customized on the extension or individual tasks and now defaults to the GAV of the root project. Resolves #31.
abc2fd3
to
601a78a
Compare
@@ -186,6 +189,9 @@ tasks { | |||
useJUnitPlatform() | |||
maxParallelForks = 8 | |||
} | |||
withType<Test>().matching { it.name.startsWith("compatTest") }.configureEach { | |||
systemProperty("plugin.version", project.version) |
There was a problem hiding this comment.
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
).
There was a problem hiding this comment.
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.
src/main/kotlin/io/github/gradlenexus/publishplugin/internal/NexusClient.kt
Outdated
Show resolved
Hide resolved
@marcphilipp You have some style violations. |
49395c2
to
14512e4
Compare
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.