Skip to content

Releases: GradleUp/nmcp

v1.6.1

Choose a tag to compare

@martinbonnin martinbonnin released this 01 Jul 18:14

v 1.6.1 restores some checksums:

All in all, nmcp now publishes .md5, .sha1, .sha512 for all files except for signature files (.asc) where no checksums are required.

Long term, I'd love to drop the .md5 and .sha1 checksums. That would require both maven and Sonatype to stop requesting them.

Many thanks to @marcphilipp and @leonard84 for helping me navigate this issue πŸ’™

On a separate note, this version also deprecates publishAllPublicationsToMavenCentral in favor of using either the aggregation or the settings plugin.

v1.6.0

Choose a tag to compare

@martinbonnin martinbonnin released this 21 Jun 17:24

Nmcp 1.6.0 stops publishing the following checksums:

  • signature checksums (.asc.md5, .asc.sha1, .asc.sha256, .asc.sha512)
  • all non-required checksums (.sha256, .sha512)
  • all maven-metadata checksums (only for local publishing, maven-metadata.xml is never sent to Central Portal)

This is all disabled by default.

If you like the checksums, you can send them again by setting publishAllChecksums:

nmcpAggregation {
  publishAllChecksums.set(true)
}

If you do, please let me know why, I'm curious!

1.5.0

Choose a tag to compare

@martinbonnin martinbonnin released this 30 Apr 15:23
89eb094

Nmcp 1.5.0 adds nmcpPublishDeployment() to publish an existing deployment to the Central Portal (#251):

./gradlew nmcpPublishDeployment -PnmcpDeploymentId=$deploymentId'

Many thanks @marcphilipp for the contribution!

v1.4.4

Choose a tag to compare

@martinbonnin martinbonnin released this 24 Jan 20:12

Nmcp 1.4.4 retries more aggressively when Sonatype is flaky, and makes it more explicit that publishAllProjectsProbablyBreakingProjectIsolation() is still OK to use if you don't mind about project isolation.

  • Implement retry for snapshots/deployment upload/status check (#244)
  • Move the empty files check to execution (#243)
  • Update deprecation message (#247)

v1.4.3

Choose a tag to compare

@martinbonnin martinbonnin released this 02 Jan 17:27
b64edd5

Happy 2026 everyone πŸ₯³!

Version 1.4.3 adds NmcpAggregationExtension.allowDuplicateProjectNames (#239) as an escape hatch for the duplicate name check (#233)

v1.4.2

Choose a tag to compare

@martinbonnin martinbonnin released this 31 Dec 15:19

Version 1.4.2 fixes snapshots returning 400 on XML 1.1 and handles some configuration errors more gracefully.

πŸ‘·β€β™‚οΈ All changes

  • Make sure to send XML 1.0 (Fixes 400 error when publishing snapshots) #231
  • Add NmcpAggregationExtension.localRepository() #234
  • Fail if there are duplicate project names #233
  • Display an error if the aggregation is empty #236

v1.4.1

Choose a tag to compare

@martinbonnin martinbonnin released this 30 Dec 12:42
76d504d

Nmcp 1.4.1 refines the aggregation dependency resolution to avoid including by mistake projects that do not apply com.gradleup.nmcp.

πŸ‘· All changes

  • Fix zip files could contain unexpected files #227
  • Bump Kotlin, OkHttp, xmlutil and a bunch of other dependencies #228

Full Changelog: v1.4.0...v1.4.1

v1.4.0

Choose a tag to compare

@martinbonnin martinbonnin released this 22 Dec 22:24

Nmcp can now be 100% configured from settings.gradle[.kts]:

// settings.gradle.kts
plugins {
  id("com.gradleup.nmcp.setting").version("1.4.0")
}

nmcpAggregation {
  centralPortal {
    username = TODO()
    password = TODO()
    // ...
  }
}

This makes it easy to centralize configuration for simple projects.

1.4.0 also contains a few quality of life improvements courtesy of @SimonMarquis and fixes an issue that could sometimes cause maven-metadata.xml to be out of sync.

πŸ“š New docs

There is now a dedicated site with more details about different ways to configure nmcp: https://gradleup.com/nmcp/

πŸ‘·β€β™‚οΈ All changes

  • Clamp remaining time to seconds #213
  • maven-metadata.xml: make sure the base version is always added to the list of versions #214, #222
  • Set an explicit configuration name to load nmcp-tasks #215
  • Register tasks earlier so that they are generated as typesafe tasks accessors #219
  • Expand the zip files when passing it to allFiles #218
  • Publish to nmcp repo tasks should never be up-to-date #221
  • Allow to configure the whole build from the settings script #223

v1.3.0

Choose a tag to compare

@martinbonnin martinbonnin released this 17 Nov 11:56

This version enables classloader isolation to fix issues such as #210.

v1.2.1

Choose a tag to compare

@martinbonnin martinbonnin released this 14 Nov 14:22

Version 1.2.1

A few fixes mostly around the settings plugin + publishing timeout and a new API for those using the plugin programmatically.

All Changes