We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f74a96 commit ba207b0Copy full SHA for ba207b0
1 file changed
build.gradle.kts
@@ -26,3 +26,19 @@ spotless {
26
ktfmt().googleStyle()
27
}
28
29
+
30
+// Aggregate task for building all public artifacts
31
+// Used to assemble the jars that should be scanned by OWASP Dependency Check
32
+// job on Jenkins
33
+tasks.register("buildPublicArtifacts") {
34
+ group = "build"
35
+ val publicArtifacts = project.extra.get("public.artifacts")
36
+ if (publicArtifacts is List<*>) {
37
+ dependsOn(publicArtifacts.map { ":$it:jar" })
38
+ } else {
39
+ logger.error(
40
+ "Cannot access the list of public artifacts. The project-wide code coverage report will be incomplete!"
41
+ )
42
+ }
43
+ dependsOn(":uber-jars:buildNetcdfAll", ":uber-jars:buildToolsUI", ":uber-jars:buildNcIdv")
44
+}
0 commit comments