This is an automated email from the ASF dual-hosted git repository. jmclean pushed a commit to branch web-license-notice in repository https://gitbox.apache.org/repos/asf/gravitino.git
commit 01143f78b87df1ff9b52848eb54bf6420ebad01e Author: Justin Mclean <[email protected]> AuthorDate: Tue Apr 15 14:47:38 2025 +0800 Fix web license and notice files by including all license and putting the license/notice into the war file --- build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 019002c461..dcd3b73dc6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -377,6 +377,12 @@ 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") @@ -615,6 +621,10 @@ 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", "")
