Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
## Split the plugin in 2 separate plugins:

# Version 0.1.1

Technical release to remove a dependency on the GradleUp snapshots repository.

This release is also the first release of `Nmcp` made using `Nmcp`.

# Version 0.1.0

## Split the plugin in two separate plugins:

- `com.gradleup.nmcp` creates a `zip${publicationName.capitalized()}Publication` and `publish${publicationName.capitalized()}PublicationToCentralPortal` task for each publication
- `publish${publicationName.capitalized()}PublicationToCentralPortal` can be used to publish an individual publication to the central portal. If using this, you need to configure the `centralPortal {}` block.
- The output of `zip${publicationName.capitalized()}Publication` is registered as an outgoing artifact so that the aggregation plugin can collect the files from all projects.
- `com.gradleup.nmcp.aggregation` can aggregate all zips from several projects and upload them in a single deployment to the central portal.

See the README for more instructions

## Other changes:

- The default `publicationType` is now `"AUTOMATIC"`, make sure to set it to `"USER_MANAGED"` if you want to manually confirm releases.
- `NmcpSpec.endpoint` is replaced by `NmcpSpec.baseUrl`.
- `NmcpSpec.publicationType` is renamed `NmcpSpec.publishingType`.
- `NmcpSpec.publicationType` is renamed `NmcpSpec.publishingType`.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You can be 100% compatible by adding the plugin to each module you want to publi
```kotlin
//root/module/build.gradle.kts
plugins {
id("com.gradleup.nmcp").version("0.1.0")
id("com.gradleup.nmcp").version("0.1.1")
}
```

Expand All @@ -62,7 +62,7 @@ And then list all modules in your root project:
```kotlin
//root/build.gradle.kts
plugins {
id("com.gradleup.nmcp.aggregation").version("0.1.0")
id("com.gradleup.nmcp.aggregation").version("0.1.1")
}

nmcp {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ gradle-min = "dev.gradleplugins:gradle-api:8.0"
kgp = { id = "org.jetbrains.kotlin.jvm", version.ref = "kgp" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
ggp = { id = "com.gradleup.gratatouille", version = "0.0.7" }
nmcp = { id = "com.gradleup.nmcp", version = "0.1.0" }
nmcp = { id = "com.gradleup.nmcp", version = "0.1.1" }
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pluginManagement {
).forEach {
it.apply {
mavenCentral()
maven("https://storage.googleapis.com/gradleup/m2")
}
}
}