Skip to content

Commit 7aac091

Browse files
committed
Fix uber-jar SBOM tasks dependencies
1 parent f19cffb commit 7aac091

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

uber-jars/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ val netcdfAllSbom =
133133
includeConfigs = listOf("netcdfAll")
134134
xmlOutput = artifactOutputLocation.get().file("netcdfAll-${project.version}-sbom.xml")
135135
jsonOutput = artifactOutputLocation.get().file("netcdfAll-${project.version}-sbom.json")
136+
dependsOn(buildNetcdfAll)
136137
}
137138

138139
val ncIdvSbom =
@@ -142,6 +143,7 @@ val ncIdvSbom =
142143
includeConfigs = listOf("ncIdv")
143144
xmlOutput = artifactOutputLocation.get().file("ncIdv-${project.version}-sbom.xml")
144145
jsonOutput = artifactOutputLocation.get().file("ncIdv-${project.version}-sbom.json")
146+
dependsOn(buildNcIdv)
145147
}
146148

147149
val toolsUISbom =
@@ -151,6 +153,7 @@ val toolsUISbom =
151153
includeConfigs = listOf("toolsUI")
152154
xmlOutput = artifactOutputLocation.get().file("toolsUI-${project.version}-sbom.xml")
153155
jsonOutput = artifactOutputLocation.get().file("toolsUI-${project.version}-sbom.json")
156+
dependsOn(buildToolsUi)
154157
}
155158

156159
val buildSboms = tasks.register("buildSboms") { dependsOn(netcdfAllSbom, ncIdvSbom, toolsUISbom) }

0 commit comments

Comments
 (0)