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
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description = "The Unidata netCDF-Java library (aka CDM)."
// and run ./gradlew wrapper twice
tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
gradleVersion = "9.2.0"
distributionSha256Sum = "16f2b95838c1ddcf7242b1c39e7bbbb43c842f1f1a1a0dc4959b6d4d68abcac3"
gradleVersion = "9.3.1"
distributionSha256Sum = "17f277867f6914d61b1aa02efab1ba7bb439ad652ca485cd8ca6842fccec6e43"
}

spotless {
Expand Down
2 changes: 1 addition & 1 deletion dap4/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation(project(":cdm-core"))
implementation(project(":httpservices"))

implementation(libs.httpcomponents.api)
implementation(libs.httpcomponents.httpclient)
implementation(libs.slf4j.api)

testImplementation(platform(project(":netcdf-java-testing-platform")))
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ grpc-protobuf = { module = "io.grpc:grpc-protobuf", version.ref = "grpc" }
grpc-stub = { module = "io.grpc:grpc-stub", version.ref = "grpc" }
grpc-testing = { module = "io.grpc:grpc-testing", version.ref = "grpc" }
guava = { module = "com.google.guava:guava", version.ref = "guava" }
httpcomponents-api = { module = "org.apache.httpcomponents:httpclient", version.ref = "httpcomponents" }
httpcomponents-httpclient = { module = "org.apache.httpcomponents:httpclient", version.ref = "httpcomponents" }
httpcomponents-httpmime = { module = "org.apache.httpcomponents:httpmime", version.ref = "httpcomponents" }
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version.ref = "jackson" }
jackson-core = { module = "com.fasterxml.jackson.core:jackson-core" }
Expand Down Expand Up @@ -112,9 +112,9 @@ logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "lo

[plugins]
# versions = { id = "com.github.ben-manes.versions", version = "0.45.0" }
cyclonedx-bom = { id = "org.cyclonedx.bom", version = "3.0.1" }
cyclonedx-bom = { id = "org.cyclonedx.bom", version = "3.1.0" }
execfork = { id = "com.github.psxpaul.execfork", version = "0.2.2"}
javacc = { id = "org.javacc.javacc", version = "4.0.1" }
protobuf = { id = "com.google.protobuf", version = "0.9.5" }
shadow = { id = "com.gradleup.shadow", version = "9.2.2" }
shadow = { id = "com.gradleup.shadow", version = "9.3.1" }
spotless = { id = "com.diffplug.spotless", version = "8.0.0" }
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=16f2b95838c1ddcf7242b1c39e7bbbb43c842f1f1a1a0dc4959b6d4d68abcac3
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-all.zip
distributionSha256Sum=17f277867f6914d61b1aa02efab1ba7bb439ad652ca485cd8ca6842fccec6e43
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion httpservices/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation(platform(project(":netcdf-java-platform")))

api(libs.guava)
api(libs.httpcomponents.api)
api(libs.httpcomponents.httpclient)

implementation(libs.findbugs.jsr305)
implementation(libs.httpcomponents.httpmime)
Expand Down
2 changes: 1 addition & 1 deletion netcdf-java-platform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
api(libs.grpc.protobuf)
api(libs.grpc.stub)
api(libs.guava)
api(libs.httpcomponents.api)
api(libs.httpcomponents.httpclient)
api(libs.httpcomponents.httpmime)
api(libs.jdom2)
api(libs.jj2000)
Expand Down
15 changes: 9 additions & 6 deletions uber-jars/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -128,26 +128,29 @@ uberJarTasks.forEach {

val netcdfAllSbom =
tasks.register<CyclonedxDirectTask>("netcdfAllSbom") {
componentName = "netcdfAll"
group = "build"
includeConfigs = listOf("netcdfAll")
xmlOutput = artifactOutputLocation.get().file("netcdfAll-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("netcdfAll-sbom.json")
xmlOutput = artifactOutputLocation.get().file("netcdfAll-${project.version}-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("netcdfAll-${project.version}-sbom.json")
}

val ncIdvSbom =
tasks.register<CyclonedxDirectTask>("ncIdvSbom") {
componentName = "ncIdv"
group = "build"
includeConfigs = listOf("ncIdv")
xmlOutput = artifactOutputLocation.get().file("ncIdv-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("ncIdv-sbom.json")
xmlOutput = artifactOutputLocation.get().file("ncIdv-${project.version}-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("ncIdv-${project.version}-sbom.json")
}

val toolsUISbom =
tasks.register<CyclonedxDirectTask>("toolsUISbom") {
componentName = "toolsUI"
group = "build"
includeConfigs = listOf("toolsUI")
xmlOutput = artifactOutputLocation.get().file("toolsUI-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("toolsUI-sbom.json")
xmlOutput = artifactOutputLocation.get().file("toolsUI-${project.version}-sbom.xml")
jsonOutput = artifactOutputLocation.get().file("toolsUI-${project.version}-sbom.json")
}

val buildSboms = tasks.register("buildSboms") { dependsOn(netcdfAllSbom, ncIdvSbom, toolsUISbom) }
Expand Down
1 change: 1 addition & 0 deletions uicdm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
runtimeOnly(project(":cdm-zarr"))
runtimeOnly(project(":dap4"))
runtimeOnly(project(":libaec-native"))
runtimeOnly(project(":libblosc2-native"))

runtimeOnly(libs.logback.classic)

Expand Down