File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ Apply the `com.gradleup.nmcp` plugin to all the projects that need to be publish
1616``` kotlin
1717// module-a/build.gradle.kts
1818plugins {
19- id(" com.gradleup.nmcp" ).version(" 1.4.0" )
19+ // Note you don't need to set a plugin version here.
20+ // The root project defines the version.
21+ id(" com.gradleup.nmcp" )
2022}
2123```
2224
@@ -80,8 +82,10 @@ dependencies {
8082// build.gradle.kts
8183dependencies {
8284 /* *
83- * Add all projects to the `nmcpAggregation` dependency. Projets that do not
84- * apply `com.gradleup.nmcp` are ignored.
85+ *
86+ * Using `allprojects {}` is also possible.
87+ *
88+ * Projets that do not apply `com.gradleup.nmcp` are ignored.
8589 *
8690 * Note: if you are using isolated projects, this potentially "over" configures
8791 * your build by configuring projects that are not important for publishing.
@@ -96,8 +100,8 @@ Call `publishAggregationToCentralPortal` to publish the aggregation:
96100
97101``` bash
98102./gradlew publishAggregationToCentralPortal
99- # yay everything is uploaded 🎉
100- # go to https://central.sonatype.com/ to release if you used USER_MANAGED
103+ # Your deployment is uploaded
104+ # go to https://central.sonatype.com/ to release it if you used USER_MANAGED
101105```
102106
103107Call ` publishAggregationToCentralSnapshots ` to publish to the snapshots:
You can’t perform that action at this time.
0 commit comments