docs: add original authoring NOTICE (#2577)

This commit is contained in:
James Ward
2026-09-10 16:37:29 +00:00
committed by GitHub
parent b3574cc33f
commit 4f64172c23
4 changed files with 16 additions and 2 deletions
+6 -2
View File
@@ -109,11 +109,15 @@ jobs:
run: run:
pnpm build:prod pnpm build:prod
- name: Embed LICENSE information
run:
cp LICENSE NOTICE frontend/dist/
- name: Upload Frontend Artifact - name: Upload Frontend Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: frontend name: frontend
path: frontend/dist/grimmory/browser/ path: frontend/dist/
retention-days: 30 retention-days: 30
build-backend: build-backend:
@@ -143,7 +147,7 @@ jobs:
with: with:
app-version: ${{ needs.semantic-version.outputs.version }} app-version: ${{ needs.semantic-version.outputs.version }}
task: bootJar task: bootJar
task-extra-params: "-PfrontendDistDir=/tmp/frontend-dist" task-extra-params: "-PfrontendDistDir=/tmp/frontend-dist/grimmory/browser"
- name: Upload Backend Jar Artifact - name: Upload Backend Jar Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+1
View File
@@ -37,6 +37,7 @@ RUN chmod +x ./gradlew
RUN --mount=type=cache,target=/home/gradle/.gradle \ RUN --mount=type=cache,target=/home/gradle/.gradle \
./gradlew --no-daemon dependencies ./gradlew --no-daemon dependencies
COPY LICENSE NOTICE ./
COPY backend/ ./ COPY backend/ ./
COPY --from=frontend-build /workspace/frontend/dist/grimmory/browser /tmp/frontend-dist COPY --from=frontend-build /workspace/frontend/dist/grimmory/browser /tmp/frontend-dist
+6
View File
@@ -0,0 +1,6 @@
Grimmory
Copyright 2026 The Grimmory Contributors
The Initial Developer of some parts of the software, which are copied from, derived from, or
inspired by BookLore, is BookLore and its contributors (https://github.com/booklore-app/booklore).
Copyright 2024 - 2026 BookLore. All rights reserved.
+3
View File
@@ -243,6 +243,9 @@ tasks.named<BootRun>("bootRun") {
tasks.named<BootJar>("bootJar") { tasks.named<BootJar>("bootJar") {
mainClass.set("org.booklore.BookloreApplication") mainClass.set("org.booklore.BookloreApplication")
into("/META-INF") {
from("../NOTICE", "../LICENSE")
}
} }
tasks.register("exportOpenApi") { tasks.register("exportOpenApi") {