Skip to content

Commit 59864f7

Browse files
authored
Update Gradle and build dependencies (#272)
* Update Gradle and build dependencies * Update nmcp as well * Fix build
1 parent 6a82d12 commit 59864f7

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎gradle/libs.versions.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ksp = "2.3.9"
44
gratatouille-runtime = "0.2.3"
55
gratatouille-plugin = "0.2.3"
66
gradle-api = "8.8"
7-
nmcp = "1.6.1-SNAPSHOT-f0114cb014b5ada1c16ad827ddbb9d0ce2e9a8c6"
7+
nmcp = "1.6.2-SNAPSHOT-6a82d12c8038b99f4e7908a5e1e8d06e4d123733"
88

99
[libraries]
1010
json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0"
@@ -26,6 +26,6 @@ kgp = { id = "org.jetbrains.kotlin.jvm", version.ref = "kgp" }
2626
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kgp" }
2727
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
2828
gratatouille = { id = "com.gradleup.gratatouille", version.ref = "gratatouille-plugin" }
29-
librarian = { id = "com.gradleup.librarian", version = "0.2.2-SNAPSHOT-c9acea74270d7e1dd5899eb4e480cf93b1835651" }
29+
librarian = { id = "com.gradleup.librarian", version = "0.2.2-SNAPSHOT-28e0ecde1aebd3f17f838e056afd44eddbce2544" }
3030
nmcp = { id = "com.gradleup.nmcp", version.ref = "nmcp" }
31-
compat = { id = "com.gradleup.tapmoc", version = "0.4.2" }
31+
compat = { id = "com.gradleup.tapmoc", version = "0.4.3-SNAPSHOT-114c9cedf8e9991206378c129db834489e116c7f" }

‎gradle/wrapper/gradle-wrapper.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
44
networkTimeout=10000
55
retries=0
66
retryBackOffMs=500

‎librarian.root.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlin.compatibility=2.2.0
44

55
kdoc.olderVersions=
66
kdoc.artifactId=kdoc
7-
kdoc.allProjects=true
7+
kdoc.projects=*
88

99
pom.groupId=com.gradleup.nmcp
1010
pom.version=1.6.2-SNAPSHOT

‎nmcp/src/main/kotlin/nmcp/NmcpAggregationExtension.kt‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,13 @@ interface NmcpAggregationExtension {
6161

6262
/**
6363
* By default, Nmcp tries to avoid publishing the checksums.
64-
* Especially, it filters out the `.sha256` and `.sha512` files, as well as all the signature checksums
65-
* (`.asc.md5`, `.asc.sha1`, `.asc.sha256`, `.asc.sha512`).
64+
* Especially, it filters out:
65+
* - `.sha256` checksums
66+
* - `.asc.md5`, `.asc.sha1`, `.asc.sha256`, `.asc.sha512` checksums
67+
*
6668
* This is to play nicer with [Maven Central publishing limits](https://central.sonatype.org/publish/maven-central-publishing-limits/).
6769
*
70+
* Note: Gradle 9.7 filters out `asc.*` checksums. In this case, this option only controls whether the `.sha256` checksums are published.
6871
* Default: false
6972
*/
7073
val publishAllChecksums: Property<Boolean>

‎tests/publish-all-checksums/build.gradle.kts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ tasks.named("check") {
7171
val dir = project.file(testDirectory)
7272
doLast {
7373
check(dir.walk().any {
74-
it.name.endsWith(".asc.sha512")
75-
})
76-
check(dir.walk().any {
77-
it.name.endsWith(".asc.sha256")
74+
it.name.endsWith(".sha256")
7875
})
7976
}
8077
}

0 commit comments

Comments
 (0)