diff --git a/build.gradle b/build.gradle index c66dd8a4..c299587f 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,11 @@ import com.github.jk1.license.render.* ext { springBootVersion = "3.3.2" + pdfboxVersion = "3.0.3" + logbackVersion = "1.5.7" + imageioVersion = "3.11.0" + lombokVersion = "1.18.34" + bouncycastleVersion = "1.78.1" } group = "stirling.software" @@ -101,8 +106,8 @@ tasks.wrapper { dependencies { //security updates - implementation "ch.qos.logback:logback-classic:1.5.7" - implementation "ch.qos.logback:logback-core:1.5.7" + implementation "ch.qos.logback:logback-classic:$logbackVersion" + implementation "ch.qos.logback:logback-core:$logbackVersion" implementation "org.springframework:spring-webmvc:6.1.12" implementation("io.github.pixee:java-security-toolkit:1.2.0") @@ -135,22 +140,22 @@ dependencies { implementation "org.apache.xmlgraphics:batik-all:1.17" // TwelveMonkeys - implementation "com.twelvemonkeys.imageio:imageio-batik:3.11.0" - implementation "com.twelvemonkeys.imageio:imageio-bmp:3.11.0" - // implementation "com.twelvemonkeys.imageio:imageio-hdr:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-icns:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-iff:3.10.1" - implementation "com.twelvemonkeys.imageio:imageio-jpeg:3.11.0" - // implementation "com.twelvemonkeys.imageio:imageio-pcx:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-pict:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-pnm:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-psd:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-sgi:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-tga:3.10.1" - // implementation "com.twelvemonkeys.imageio:imageio-thumbsdb:3.10.1" - implementation "com.twelvemonkeys.imageio:imageio-tiff:3.11.0" - implementation "com.twelvemonkeys.imageio:imageio-webp:3.11.0" - // implementation "com.twelvemonkeys.imageio:imageio-xwd:3.10.1" + implementation "com.twelvemonkeys.imageio:imageio-batik:$imageioVersion" + implementation "com.twelvemonkeys.imageio:imageio-bmp:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-hdr:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-icns:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-iff:$imageioVersion" + implementation "com.twelvemonkeys.imageio:imageio-jpeg:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-pcx:$imageioVersion@ + // implementation "com.twelvemonkeys.imageio:imageio-pict:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-pnm:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-psd:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-sgi:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-tga:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-thumbsdb:$imageioVersion" + implementation "com.twelvemonkeys.imageio:imageio-tiff:$imageioVersion" + implementation "com.twelvemonkeys.imageio:imageio-webp:$imageioVersion" + // implementation "com.twelvemonkeys.imageio:imageio-xwd:$imageioVersion" implementation "commons-io:commons-io:2.16.1" implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0" @@ -162,17 +167,21 @@ dependencies { exclude group: "commons-logging", module: "commons-logging" } - implementation ("org.apache.pdfbox:pdfbox:3.0.3") { + implementation ("org.apache.pdfbox:pdfbox:$pdfboxVersion") { exclude group: "commons-logging", module: "commons-logging" } - implementation ("org.apache.pdfbox:xmpbox:3.0.3") { + implementation ("org.apache.pdfbox:xmpbox:$pdfboxVersion") { exclude group: "commons-logging", module: "commons-logging" } + + implementation 'org.apache.pdfbox:jbig2-imageio:3.0.4' + + implementation "com.github.Carleslc.Simple-YAML:Simple-Yaml:1.8.4" - implementation "org.bouncycastle:bcprov-jdk18on:1.78.1" - implementation "org.bouncycastle:bcpkix-jdk18on:1.78.1" + implementation "org.bouncycastle:bcprov-jdk18on:$bouncycastleVersion" + implementation "org.bouncycastle:bcpkix-jdk18on:$bouncycastleVersion" implementation "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion" implementation "io.micrometer:micrometer-core:1.13.3" implementation group: "com.google.zxing", name: "core", version: "3.5.3" @@ -181,12 +190,11 @@ dependencies { implementation "org.commonmark:commonmark-ext-gfm-tables:0.22.0" // https://mvnrepository.com/artifact/com.bucket4j/bucket4j_jdk17 implementation "com.bucket4j:bucket4j_jdk17-core:8.13.1" - - implementation "com.fathzer:javaluator:3.0.4" + implementation "com.fathzer:javaluator:3.0.4" developmentOnly("org.springframework.boot:spring-boot-devtools:$springBootVersion") - compileOnly "org.projectlombok:lombok:1.18.34" - annotationProcessor "org.projectlombok:lombok:1.18.34" + compileOnly "org.projectlombok:lombok:$lombokVersion" + annotationProcessor "org.projectlombok:lombok:$lombokVersion" testImplementation 'org.mockito:mockito-inline:5.2.0' }