This commit is contained in:
Anthony Stirling 2025-06-09 17:25:29 +01:00
parent 239fbab745
commit b6b2aa5522
4 changed files with 3 additions and 8 deletions

View File

@ -5,8 +5,7 @@ FROM alpine:3.22.0@sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be02
COPY scripts /scripts
COPY pipeline /pipeline
COPY stirling-pdf/src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/
#COPY src/main/resources/static/fonts/*.otf /usr/share/fonts/opentype/noto/
COPY build/libs/*.jar app.jar
COPY stirling-pdf/build/libs/*.jar app.jar
ARG VERSION_TAG

View File

@ -5,6 +5,7 @@ COPY build.gradle .
COPY settings.gradle .
COPY gradlew .
COPY gradle gradle/
COPY stirling-pdf/build.gradle stirling-pdf/.
COPY common/build.gradle common/.
COPY proprietary/build.gradle proprietary/.
RUN ./gradlew build -x spotlessApply -x spotlessCheck -x test -x sonarqube || return 0
@ -27,7 +28,7 @@ FROM alpine:3.22.0@sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be02
COPY scripts /scripts
COPY pipeline /pipeline
COPY stirling-pdf/src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/
COPY --from=build /app/build/libs/*.jar app.jar
COPY --from=build /app/stirling-pdf/build/libs/*.jar app.jar
ARG VERSION_TAG

View File

@ -50,9 +50,7 @@ sourceSets {
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') == 'true')) {
exclude 'stirling/software/proprietary/security/**'
}
println "STIRLING_PDF_DESKTOP_UI here3"
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
println "STIRLING_PDF_DESKTOP_UI here4"
exclude 'stirling/software/SPDF/UI/impl/**'
}

View File

@ -94,10 +94,7 @@ sourceSets {
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') == 'true')) {
exclude 'stirling/software/proprietary/security/**'
}
println "STIRLING_PDF_DESKTOP_UI here1"
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
println "STIRLING_PDF_DESKTOP_UI here2"
exclude 'stirling/software/SPDF/UI/impl/**'
}
}