diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4a94b51..590ae6b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ ksp = "2.3.9" gratatouille-runtime = "0.2.3" gratatouille-plugin = "0.2.3" gradle-api = "8.8" -nmcp = "1.6.1-SNAPSHOT-f0114cb014b5ada1c16ad827ddbb9d0ce2e9a8c6" +nmcp = "1.6.2-SNAPSHOT-6a82d12c8038b99f4e7908a5e1e8d06e4d123733" [libraries] json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0" @@ -26,6 +26,6 @@ kgp = { id = "org.jetbrains.kotlin.jvm", version.ref = "kgp" } serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kgp" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } gratatouille = { id = "com.gradleup.gratatouille", version.ref = "gratatouille-plugin" } -librarian = { id = "com.gradleup.librarian", version = "0.2.2-SNAPSHOT-c9acea74270d7e1dd5899eb4e480cf93b1835651" } +librarian = { id = "com.gradleup.librarian", version = "0.2.2-SNAPSHOT-28e0ecde1aebd3f17f838e056afd44eddbce2544" } nmcp = { id = "com.gradleup.nmcp", version.ref = "nmcp" } -compat = { id = "com.gradleup.tapmoc", version = "0.4.2" } +compat = { id = "com.gradleup.tapmoc", version = "0.4.3-SNAPSHOT-114c9cedf8e9991206378c129db834489e116c7f" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index eb84db6..ad7845b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500 diff --git a/librarian.root.properties b/librarian.root.properties index fef40c4..da52680 100644 --- a/librarian.root.properties +++ b/librarian.root.properties @@ -4,7 +4,7 @@ kotlin.compatibility=2.2.0 kdoc.olderVersions= kdoc.artifactId=kdoc -kdoc.allProjects=true +kdoc.projects=* pom.groupId=com.gradleup.nmcp pom.version=1.6.2-SNAPSHOT diff --git a/nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt b/nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt index 653cf27..7ce7b2b 100644 --- a/nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt +++ b/nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt @@ -61,10 +61,13 @@ interface NmcpAggregationExtension { /** * By default, Nmcp tries to avoid publishing the checksums. - * Especially, it filters out the `.sha256` and `.sha512` files, as well as all the signature checksums - * (`.asc.md5`, `.asc.sha1`, `.asc.sha256`, `.asc.sha512`). + * Especially, it filters out: + * - `.sha256` checksums + * - `.asc.md5`, `.asc.sha1`, `.asc.sha256`, `.asc.sha512` checksums + * * This is to play nicer with [Maven Central publishing limits](https://central.sonatype.org/publish/maven-central-publishing-limits/). * + * Note: Gradle 9.7 filters out `asc.*` checksums. In this case, this option only controls whether the `.sha256` checksums are published. * Default: false */ val publishAllChecksums: Property diff --git a/tests/publish-all-checksums/build.gradle.kts b/tests/publish-all-checksums/build.gradle.kts index 11fee15..f239595 100644 --- a/tests/publish-all-checksums/build.gradle.kts +++ b/tests/publish-all-checksums/build.gradle.kts @@ -71,10 +71,7 @@ tasks.named("check") { val dir = project.file(testDirectory) doLast { check(dir.walk().any { - it.name.endsWith(".asc.sha512") - }) - check(dir.walk().any { - it.name.endsWith(".asc.sha256") + it.name.endsWith(".sha256") }) } } \ No newline at end of file