We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455826b commit 9f36842Copy full SHA for 9f36842
build.gradle.kts
@@ -38,12 +38,14 @@ nexusPublishing {
38
}
39
40
41
-tasks.withType<PublishToMavenRepository> {
42
- doFirst {
43
- println("Publishing ${publication.groupId}:${publication.artifactId}:${publication.version} to ${repository.url}")
44
- }
45
- if (!(version as String).endsWith("SNAPSHOT")) {
46
- finalizedBy(tasks.closeAndReleaseStagingRepository)
+subprojects {
+ tasks.withType<PublishToMavenRepository> {
+ doFirst {
+ println("Publishing ${publication.groupId}:${publication.artifactId}:${publication.version} to ${repository.url}")
+ }
+ if (!(version as String).endsWith("SNAPSHOT")) {
47
+ finalizedBy(tasks.closeAndReleaseStagingRepository)
48
49
50
51
0 commit comments