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
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion librarian.root.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<Boolean>
Expand Down
5 changes: 1 addition & 4 deletions tests/publish-all-checksums/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
}
}
Loading