Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[Minor] Fix web license and notice files in the binary release (#6955)

Justin Mclean12f680c040ad
diff --git a/build.gradle.kts b/build.gradle.kts
index 6c2428f2b1..5798375884 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -387,6 +387,11 @@ subprojects {
if (name == "sourcesJar") {
include("LICENSE")
include("NOTICE")
+ } else if (project.name == "web") {
+ include("web/web/LICENSE.bin")
+ rename("LICENSE.bin", "LICENSE")
+ include("web/web/NOTICE.bin")
+ rename("NOTICE.bin", "NOTICE")
} else {
include("LICENSE.bin")
rename("LICENSE.bin", "LICENSE")
@@ -633,6 +638,9 @@ tasks {
from(projectDir.file("NOTICE.bin")) { into("package") }
from(projectDir.file("README.md")) { into("package") }
from(projectDir.file("DISCLAIMER.txt")) { into("package") }
+ from(projectDir.dir("web/web/licenses")) { into("package/web/licenses") }
+ from(projectDir.dir("web/web/LICENSE.bin")) { into("package/web") }
+ from(projectDir.dir("web/web/NOTICE.bin")) { into("package/web") }
into(outputDir)
rename { fileName ->
fileName.replace(".bin", "")