docs: add original authoring NOTICE (#2577)
This commit is contained in:
@@ -109,11 +109,15 @@ jobs:
|
||||
run:
|
||||
pnpm build:prod
|
||||
|
||||
- name: Embed LICENSE information
|
||||
run:
|
||||
cp LICENSE NOTICE frontend/dist/
|
||||
|
||||
- name: Upload Frontend Artifact
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: frontend
|
||||
path: frontend/dist/grimmory/browser/
|
||||
path: frontend/dist/
|
||||
retention-days: 30
|
||||
|
||||
build-backend:
|
||||
@@ -143,7 +147,7 @@ jobs:
|
||||
with:
|
||||
app-version: ${{ needs.semantic-version.outputs.version }}
|
||||
task: bootJar
|
||||
task-extra-params: "-PfrontendDistDir=/tmp/frontend-dist"
|
||||
task-extra-params: "-PfrontendDistDir=/tmp/frontend-dist/grimmory/browser"
|
||||
|
||||
- name: Upload Backend Jar Artifact
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
|
||||
@@ -37,6 +37,7 @@ RUN chmod +x ./gradlew
|
||||
RUN --mount=type=cache,target=/home/gradle/.gradle \
|
||||
./gradlew --no-daemon dependencies
|
||||
|
||||
COPY LICENSE NOTICE ./
|
||||
COPY backend/ ./
|
||||
COPY --from=frontend-build /workspace/frontend/dist/grimmory/browser /tmp/frontend-dist
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -243,6 +243,9 @@ tasks.named<BootRun>("bootRun") {
|
||||
|
||||
tasks.named<BootJar>("bootJar") {
|
||||
mainClass.set("org.booklore.BookloreApplication")
|
||||
into("/META-INF") {
|
||||
from("../NOTICE", "../LICENSE")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("exportOpenApi") {
|
||||
|
||||
Reference in New Issue
Block a user