mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-23 16:05:09 +00:00
testing build
This commit is contained in:
parent
7d062c0824
commit
91ed7a45ca
33
build.gradle
33
build.gradle
@ -157,37 +157,6 @@ licenseReport {
|
|||||||
allowedLicensesFile = new File("$projectDir/allowed-licenses.json")
|
allowedLicensesFile = new File("$projectDir/allowed-licenses.json")
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main {
|
|
||||||
java {
|
|
||||||
if (System.getenv('DOCKER_ENABLE_SECURITY') == 'false' || System.getenv('DISABLE_ADDITIONAL_FEATURES') == 'true'
|
|
||||||
|| (project.hasProperty('DISABLE_ADDITIONAL_FEATURES')
|
|
||||||
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') == 'true')) {
|
|
||||||
exclude 'stirling/software/proprietary/security/**'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
|
||||||
exclude 'stirling/software/SPDF/UI/impl/**'
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
test {
|
|
||||||
java {
|
|
||||||
if (System.getenv('DOCKER_ENABLE_SECURITY') == 'false' || System.getenv('DISABLE_ADDITIONAL_FEATURES') == 'true'
|
|
||||||
|| (project.hasProperty('DISABLE_ADDITIONAL_FEATURES')
|
|
||||||
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') == 'true')) {
|
|
||||||
exclude 'stirling/software/proprietary/security/**'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
|
||||||
exclude 'stirling/software/SPDF/UI/impl/**'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
openApi {
|
openApi {
|
||||||
apiDocsUrl = "http://localhost:8080/v1/api-docs"
|
apiDocsUrl = "http://localhost:8080/v1/api-docs"
|
||||||
outputDir = file("$projectDir")
|
outputDir = file("$projectDir")
|
||||||
@ -564,4 +533,4 @@ tasks.named('bootRun') {
|
|||||||
doFirst {
|
doFirst {
|
||||||
println "Delegating to :stirling-pdf:bootRun"
|
println "Delegating to :stirling-pdf:bootRun"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ dependencies {
|
|||||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') != 'false'
|
if (System.getenv('STIRLING_PDF_DESKTOP_UI') != 'false'
|
||||||
|| (project.hasProperty('STIRLING_PDF_DESKTOP_UI')
|
|| (project.hasProperty('STIRLING_PDF_DESKTOP_UI')
|
||||||
&& project.getProperty('STIRLING_PDF_DESKTOP_UI') != 'false')) {
|
&& project.getProperty('STIRLING_PDF_DESKTOP_UI') != 'false')) {
|
||||||
implementation 'me.friwi:jcefmaven:132.3.1'
|
implementation 'me.friwi:jcefmaven:135.0.20'
|
||||||
implementation 'org.openjfx:javafx-controls:21'
|
implementation 'org.openjfx:javafx-controls:21'
|
||||||
implementation 'org.openjfx:javafx-swing:21'
|
implementation 'org.openjfx:javafx-swing:21'
|
||||||
}
|
}
|
||||||
@ -101,4 +101,4 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jar.dependsOn ':common:jar'
|
jar.dependsOn ':common:jar'
|
||||||
jar.dependsOn ':proprietary:jar'
|
jar.dependsOn ':proprietary:jar'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user