mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-04 02:20:19 +01:00
Bumps [com.google.zxing:core](https://github.com/zxing/zxing) from 3.5.3 to 3.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zxing/zxing/releases">com.google.zxing:core's releases</a>.</em></p> <blockquote> <h2>ZXing 3.5.4</h2> <h2>What's Changed</h2> <ul> <li>Fix container inefficiency in RSSExpandedReader.java by <a href="https://github.com/cinsttool"><code>@cinsttool</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1782">zxing/zxing#1782</a></li> <li>Fix SYMBOLOGY_IDENTIFIER Loss in QRCodeMultiReader to Ensure Data Integrity and Functional Consistency with QRCodeReader by <a href="https://github.com/xiebaiyuan"><code>@xiebaiyuan</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1839">zxing/zxing#1839</a></li> <li>Be more stringent on email validation rules by <a href="https://github.com/ftiercelin"><code>@ftiercelin</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1870">zxing/zxing#1870</a></li> <li>PDF417: Check that input is made of 0...127 chars when using Compaction.TEXT, throw an explicit exception if not the case by <a href="https://github.com/ftiercelin"><code>@ftiercelin</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1878">zxing/zxing#1878</a></li> <li>Fixing issue <a href="https://redirect.github.com/zxing/zxing/issues/1831">#1831</a> by <a href="https://github.com/ftiercelin"><code>@ftiercelin</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1879">zxing/zxing#1879</a></li> <li>Add hint to correct wrong dimension by <a href="https://github.com/magethle"><code>@magethle</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1901">zxing/zxing#1901</a></li> <li>Fix distortion calculation for isosceles right triangles by <a href="https://github.com/magethle"><code>@magethle</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1908">zxing/zxing#1908</a></li> <li>Add input validation for pixel array length in RGBLuminanceSource to avoid ArrayIndexOutOfBoundsException by <a href="https://github.com/leofernandesmo"><code>@leofernandesmo</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/1961">zxing/zxing#1961</a></li> <li>Add 90-degree rotation support to RGBLuminanceSource by <a href="https://github.com/gredler"><code>@gredler</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/2012">zxing/zxing#2012</a></li> <li>Add GrayscaleLuminanceSource by <a href="https://github.com/gredler"><code>@gredler</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/2013">zxing/zxing#2013</a></li> <li>Loosen ITF max variance for 3x module widths by <a href="https://github.com/gredler"><code>@gredler</code></a> in <a href="https://redirect.github.com/zxing/zxing/pull/2014">zxing/zxing#2014</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/zxing/zxing/compare/zxing-3.5.3...zxing-3.5.4">https://github.com/zxing/zxing/compare/zxing-3.5.3...zxing-3.5.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f651b0a037"><code>f651b0a</code></a> [maven-release-plugin] prepare release zxing-3.5.4</li> <li><a href="6d66bd9643"><code>6d66bd9</code></a> Restore 3.5.4-SNAPSHOT</li> <li><a href="c65c5506a7"><code>c65c550</code></a> [maven-release-plugin] prepare release zxing-3.5.4</li> <li><a href="00ff3cb500"><code>00ff3cb</code></a> Add new Sonatype repo</li> <li><a href="4a160986ef"><code>4a16098</code></a> [maven-release-plugin] rollback the release of zxing-3.5.4</li> <li><a href="7c58665161"><code>7c58665</code></a> [maven-release-plugin] prepare for next development iteration</li> <li><a href="b36e149816"><code>b36e149</code></a> [maven-release-plugin] prepare release zxing-3.5.4</li> <li><a href="8536950144"><code>8536950</code></a> [maven-release-plugin] rollback the release of zxing-3.5.4</li> <li><a href="1fe940f091"><code>1fe940f</code></a> [maven-release-plugin] prepare release zxing-3.5.4</li> <li><a href="6cf1062646"><code>6cf1062</code></a> Manually update secondary packages to 3.5.4. parent</li> <li>Additional commits viewable in <a href="https://github.com/zxing/zxing/compare/zxing-3.5.3...zxing-3.5.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
163 lines
5.5 KiB
Groovy
163 lines
5.5 KiB
Groovy
apply plugin: 'org.springframework.boot'
|
|
|
|
repositories {
|
|
maven { url = 'https://build.shibboleth.net/maven/releases' }
|
|
maven { url = 'https://maven.pkg.github.com/jcefmaven/jcefmaven' }
|
|
}
|
|
|
|
configurations {
|
|
developmentOnly
|
|
runtimeClasspath {
|
|
extendsFrom developmentOnly
|
|
}
|
|
}
|
|
|
|
spotless {
|
|
java {
|
|
target 'src/**/java/**/*.java'
|
|
googleJavaFormat(googleJavaFormatVersion).aosp().reorderImports(false)
|
|
|
|
importOrder("java", "javax", "org", "com", "net", "io", "jakarta", "lombok", "me", "stirling")
|
|
toggleOffOn()
|
|
trimTrailingWhitespace()
|
|
leadingTabsToSpaces()
|
|
endWithNewline()
|
|
}
|
|
yaml {
|
|
target '**/*.yml', '**/*.yaml'
|
|
trimTrailingWhitespace()
|
|
leadingTabsToSpaces()
|
|
endWithNewline()
|
|
}
|
|
format 'gradle', {
|
|
target '**/gradle/*.gradle', '**/*.gradle'
|
|
trimTrailingWhitespace()
|
|
leadingTabsToSpaces()
|
|
endWithNewline()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
if (System.getenv('STIRLING_PDF_DESKTOP_UI') != 'false'
|
|
|| (project.hasProperty('STIRLING_PDF_DESKTOP_UI')
|
|
&& project.getProperty('STIRLING_PDF_DESKTOP_UI') != 'false')) {
|
|
implementation 'me.friwi:jcefmaven:132.3.1'
|
|
implementation 'org.openjfx:javafx-controls:21'
|
|
implementation 'org.openjfx:javafx-swing:21'
|
|
}
|
|
|
|
if (System.getenv('DISABLE_ADDITIONAL_FEATURES') != 'true'
|
|
|| (project.hasProperty('DISABLE_ADDITIONAL_FEATURES')
|
|
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') != 'true')) {
|
|
implementation project(':proprietary')
|
|
}
|
|
|
|
implementation project(':common')
|
|
implementation 'org.springframework.boot:spring-boot-starter-jetty'
|
|
implementation 'com.posthog.java:posthog:1.2.0'
|
|
implementation 'commons-io:commons-io:2.21.0'
|
|
implementation "org.bouncycastle:bcprov-jdk18on:$bouncycastleVersion"
|
|
implementation "org.bouncycastle:bcpkix-jdk18on:$bouncycastleVersion"
|
|
implementation 'io.micrometer:micrometer-core:1.16.0'
|
|
implementation 'com.google.zxing:core:3.5.4'
|
|
implementation "org.commonmark:commonmark:$commonmarkVersion" // https://mvnrepository.com/artifact/org.commonmark/commonmark
|
|
implementation "org.commonmark:commonmark-ext-gfm-tables:$commonmarkVersion"
|
|
|
|
// General PDF dependencies
|
|
implementation "org.apache.pdfbox:preflight:$pdfboxVersion"
|
|
implementation "org.apache.pdfbox:xmpbox:$pdfboxVersion"
|
|
|
|
// https://mvnrepository.com/artifact/technology.tabula/tabula
|
|
implementation ('technology.tabula:tabula:1.0.5') {
|
|
exclude group: 'org.slf4j', module: 'slf4j-simple'
|
|
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
|
|
exclude group: 'com.google.code.gson', module: 'gson'
|
|
}
|
|
implementation 'org.apache.pdfbox:jbig2-imageio:3.0.4'
|
|
implementation 'com.opencsv:opencsv:5.12.0' // https://mvnrepository.com/artifact/com.opencsv/opencsv
|
|
|
|
// Batik
|
|
implementation 'org.apache.xmlgraphics:batik-all:1.19'
|
|
|
|
// TwelveMonkeys
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-batik:$imageioVersion"
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-bmp:$imageioVersion"
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-jpeg:$imageioVersion"
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-tiff:$imageioVersion"
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-webp:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-hdr:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-icns:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-iff:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-pcx:$imageioVersion@
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-pict:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-pnm:$imageioVersion"
|
|
runtimeOnly "com.twelvemonkeys.imageio:imageio-psd:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-sgi:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-tga:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-thumbsdb:$imageioVersion"
|
|
// runtimeOnly "com.twelvemonkeys.imageio:imageio-xwd:$imageioVersion"
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
resources {
|
|
srcDirs += ['../configs']
|
|
}
|
|
java {
|
|
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
|
exclude 'stirling/software/SPDF/UI/impl/**'
|
|
}
|
|
|
|
}
|
|
}
|
|
test {
|
|
java {
|
|
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
|
exclude 'stirling/software/SPDF/UI/impl/**'
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
// Disable regular jar
|
|
jar {
|
|
enabled = false
|
|
}
|
|
|
|
// Configure and enable bootJar for this project
|
|
bootJar {
|
|
enabled = true
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
zip64 = true
|
|
|
|
// Don't include all dependencies directly like the old jar task did
|
|
// from {
|
|
// configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
// }
|
|
|
|
// Exclude signature files to prevent "Invalid signature file digest" errors
|
|
exclude 'META-INF/*.SF'
|
|
exclude 'META-INF/*.DSA'
|
|
exclude 'META-INF/*.RSA'
|
|
exclude 'META-INF/*.EC'
|
|
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'Stirling-PDF',
|
|
'Implementation-Version': project.version
|
|
)
|
|
}
|
|
}
|
|
|
|
// Configure main class for Spring Boot
|
|
springBoot {
|
|
mainClass = 'stirling.software.SPDF.SPDFApplication'
|
|
}
|
|
|
|
bootJar.dependsOn ':common:jar'
|
|
bootJar.dependsOn ':proprietary:jar'
|