Skip to content

Commit 7218490

Browse files
committed
improve docs
1 parent d04baab commit 7218490

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

docs/src/content/docs/manual-configuration.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff 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
1818
plugins {
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
8183
dependencies {
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

103107
Call `publishAggregationToCentralSnapshots` to publish to the snapshots:

0 commit comments

Comments
 (0)