File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1313 distribution : temurin
1414 java-version : 17
1515 - uses : gradle/actions/setup-gradle@v5
16- - run : " ./gradlew publishAllPublicationsToCentralPortal -Psign=true"
16+ - run : " ./gradlew publishAggregationToCentralPortal -Psign=true"
1717 env :
1818 SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
1919 SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
Original file line number Diff line number Diff line change 11plugins {
2- id(" com.gradleup.nmcp" ) version " 0.1.5"
2+ val nmcpVersion = " 1.2.0"
3+
4+ id(" com.gradleup.nmcp" ) version nmcpVersion
5+ id(" com.gradleup.nmcp.aggregation" ) version nmcpVersion
36 id(" java-library" )
47 id(" maven-publish" )
58 id(" signing" )
@@ -32,6 +35,8 @@ tasks.withType<Javadoc>().configureEach {
3235dependencies {
3336 compileOnly(" org.apache.maven:maven-core:3.9.11" )
3437
38+ nmcpAggregation(project(path))
39+
3540 testImplementation(" org.assertj:assertj-core:3.27.6" )
3641 testImplementation(" io.takari.maven.plugins:takari-plugin-integration-testing:3.1.1" )
3742}
@@ -77,7 +82,8 @@ signing {
7782 }
7883}
7984
80- nmcp {
85+
86+ nmcpAggregation {
8187 centralPortal {
8288 username = providers.environmentVariable(" MAVEN_CENTRAL_USERNAME" )
8389 password = providers.environmentVariable(" MAVEN_CENTRAL_PASSWORD" )
You can’t perform that action at this time.
0 commit comments