Skip to content

Commit a2726ca

Browse files
committed
upgrade version
1 parent 4a51350 commit a2726ca

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
id 'java'
55
id 'maven-publish'
66
id 'signing'
7-
id 'com.gradleup.nmcp' version '0.0.8'
7+
id 'com.gradleup.nmcp.aggregation' version '1.1.0'
88
}
99

1010
group 'com.github.sidhant92'
@@ -103,13 +103,14 @@ signing {
103103
}
104104

105105
// Configure New Maven Central Portal publishing
106-
nmcp {
107-
publishAggregation {
108-
project(":")
106+
nmcpAggregation {
107+
centralPortal {
109108
username = System.getenv("MAVEN_USERNAME") ?: findProperty("mavenCentralUsername")
110109
password = System.getenv("MAVEN_PASSWORD") ?: findProperty("mavenCentralPassword")
111-
publicationType = "AUTOMATIC"
110+
publishingType = "AUTOMATIC"
112111
}
112+
113+
publishAllProjectsProbablyBreakingProjectIsolation()
113114
}
114115

115116
ext.genOutputDir = file("${layout.buildDirectory.get()}/generated-resources")

0 commit comments

Comments
 (0)