feat(pdf): integrate PDFium4j for PDF processing and metadata extraction (#281)

* feat(pdf): integrate PDFium4j for PDF processing and metadata extraction

* feat(pdf): update PDFium4j to version 0.12.0 and optimize XMP metadata handling

* feat(pdf): update PDFium4j to version 0.13.0

* feat(pdf): enhance cross-compilation support and improve XML parsing in metadata extraction

* Delete dev.local-libs.docker-compose.yml

* feat(pdf): update PDFium4j to version 0.14.0
This commit is contained in:
brios
2026-04-22 17:27:01 -04:00
committed by Zach Yale
parent ad3a981ad1
commit 64083fe9b7
16 changed files with 547 additions and 851 deletions
+3 -1
View File
@@ -16,6 +16,8 @@ RUN --mount=type=cache,target=/workspace/.yarn/cache \
FROM --platform=$BUILDPLATFORM gradle:9.3.1-jdk25-alpine AS backend-build
ARG TARGETARCH
WORKDIR /workspace/booklore-api
COPY booklore-api/gradlew booklore-api/gradlew.bat booklore-api/build.gradle.kts booklore-api/settings.gradle.kts ./
@@ -29,7 +31,7 @@ COPY booklore-api/ ./
COPY --from=frontend-build /workspace/frontend/dist/grimmory/browser /tmp/frontend-dist
RUN --mount=type=cache,target=/home/gradle/.gradle \
./gradlew --no-daemon -PfrontendDistDir=/tmp/frontend-dist bootJar
TARGETARCH=${TARGETARCH} ./gradlew --no-daemon -PfrontendDistDir=/tmp/frontend-dist bootJar
RUN set -eux; \
jar_path="$(find build/libs -maxdepth 1 -name '*.jar' ! -name '*plain.jar' | head -n 1)"; \