From 706977188565b675fb6334e6e9ddac6fa32e9488 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 11 Nov 2020 03:18:45 +0300 Subject: Manage Spring Boot dependencies with spring-boot-dependencies BOM --- build.gradle | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 5a942e5e..e4a67306 100644 --- a/build.gradle +++ b/build.gradle @@ -112,29 +112,30 @@ dependencies { compile ('org.springframework.boot:spring-boot-devtools') runtime ("org.springframework.boot:spring-boot-properties-migrator") - compile 'org.flywaydb:flyway-core:6.5.6' - compile 'com.github.ben-manes.caffeine:caffeine:2.8.6' + compile 'org.flywaydb:flyway-core' + compile 'com.github.ben-manes.caffeine:caffeine' + compile 'javax.validation:validation-api' + + compile 'org.apache.commons:commons-lang3' + compile 'commons-codec:commons-codec' + + compile 'javax.xml.bind:jaxb-api' + runtime 'org.glassfish.jaxb:jaxb-runtime' compile "javax.inject:javax.inject:1" compile 'com.google.code.findbugs:jsr305:3.0.2' - compile 'javax.validation:validation-api:2.0.1.Final' - compile "org.apache.commons:commons-lang3:3.11" compile "org.apache.commons:commons-collections4:4.4" compile 'org.apache.commons:commons-email:1.5' compile 'org.apache.commons:commons-text:1.9' compile "org.apache.commons:commons-imaging:1.0-alpha2" - compile "commons-codec:commons-codec:1.15" compile "commons-io:commons-io:2.8.0" compile 'org.ocpsoft.prettytime:prettytime:4.0.6.Final' compile 'com.twelvemonkeys.imageio:imageio-jpeg:3.6' compile 'org.imgscalr:imgscalr-lib:4.2' - compile "javax.xml.bind:jaxb-api:2.3.1" - runtime 'org.glassfish.jaxb:jaxb-runtime:2.3.3' - compileOnly 'io.springfox:springfox-core:2.9.2' compile 'org.apache.commons:commons-email:1.5' @@ -149,10 +150,10 @@ dependencies { compile 'com.rometools:rome:1.15.0' compile 'com.rometools:rome-modules:1.15.0' - runtime 'org.mariadb.jdbc:mariadb-java-client:2.7.0' + runtime 'org.mariadb.jdbc:mariadb-java-client' runtime 'net.java.dev.jna:jna:5.6.0' runtime 'net.java.dev.jna:jna-platform:5.6.0' - runtime 'com.h2database:h2:1.4.200' + runtime 'com.h2database:h2' compile 'io.pebbletemplates:pebble-spring5:3.1.3' compile 'com.atlassian.commonmark:commonmark:0.15.2' @@ -164,10 +165,10 @@ dependencies { compile 'io.jsonwebtoken:jjwt-api:0.11.2' runtime 'io.jsonwebtoken:jjwt-jackson:0.11.2' runtime 'io.jsonwebtoken:jjwt-impl:0.11.2' - compile 'com.nimbusds:nimbus-jose-jwt:9.1.2' + compile 'com.nimbusds:nimbus-jose-jwt' testCompile("org.springframework.boot:spring-boot-starter-test") - testCompile 'net.sourceforge.htmlunit:htmlunit:2.44.0', { + testCompile 'net.sourceforge.htmlunit:htmlunit', { exclude group: 'xml-apis', module:'xml-apis' } testCompile('org.springframework.security:spring-security-test') -- cgit v1.2.3