Use Spring Boot BOM to avoid maintaining version numbers in dependencies.gradle (#662 for FINERACT-797)
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
0440a36317
commit
a20f76d686
@@ -21,11 +21,7 @@ Run as:
|
||||
gradle clean tomcatrunwar
|
||||
'''
|
||||
|
||||
project.ext.springBootVersion = '2.1.9.RELEASE'
|
||||
project.ext.springVersion = '5.1.10.RELEASE'
|
||||
project.ext.springOauthVersion = '2.3.6.RELEASE'
|
||||
project.ext.jerseyVersion = '1.17'
|
||||
project.ext.springDataJpaVersion = '2.2.0.RELEASE' // also change spring-boot-gradle-plugin version below
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
@@ -38,6 +34,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE'
|
||||
classpath 'com.bmuschko:gradle-tomcat-plugin:2.5',
|
||||
'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0',
|
||||
'org.zeroturnaround:gradle-jrebel-plugin:1.1.2',
|
||||
@@ -48,6 +45,7 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: "org.nosphere.apache.rat"
|
||||
apply plugin: 'rebel'
|
||||
apply plugin: 'license'
|
||||
@@ -59,9 +57,77 @@ apply plugin: 'com.bmuschko.tomcat'
|
||||
apply plugin: 'project-report'
|
||||
apply plugin: 'java-library'
|
||||
apply plugin: 'openjpa'
|
||||
|
||||
// apply plugin: 'pmd'
|
||||
// apply plugin: 'findbugs'
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom 'org.springframework:spring-framework-bom:5.1.10.RELEASE'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
dependency 'org.springframework.security.oauth:spring-security-oauth2:2.3.6.RELEASE'
|
||||
dependency 'org.apache.openjpa:openjpa:3.1.0'
|
||||
dependency 'com.squareup.retrofit:retrofit:1.6.1'
|
||||
dependency 'com.squareup.okhttp:okhttp:2.0.0'
|
||||
dependency 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
|
||||
dependency 'com.google.code.gson:gson:2.2.4'
|
||||
dependency 'com.google.guava:guava:15.0'
|
||||
dependency 'joda-time:joda-time:2.4'
|
||||
dependency 'org.apache.commons:commons-email:1.3.3'
|
||||
dependency 'org.apache.commons:commons-lang3:3.3.2'
|
||||
dependency 'org.drizzle.jdbc:drizzle-jdbc:1.4'
|
||||
dependency 'com.lowagie:itext:2.1.7'
|
||||
dependency 'com.lowagie:itext-rtf:2.1.7'
|
||||
dependency 'org.mnode.ical4j:ical4j:1.0.4'
|
||||
dependency 'com.googlecode.flyway:flyway-core:2.1.1'
|
||||
dependency 'org.quartz-scheduler:quartz:2.1.7'
|
||||
dependency 'com.amazonaws:aws-java-sdk-s3:1.11.80'
|
||||
dependency 'net.sf.ehcache:ehcache:2.7.2'
|
||||
dependency 'com.github.spullara.mustache.java:compiler:0.8.12'
|
||||
dependency 'com.jayway.jsonpath:json-path:0.9.1'
|
||||
dependency 'org.apache.tika:tika-core:1.9'
|
||||
dependency 'org.apache.httpcomponents:httpclient:4.3.5'
|
||||
dependency 'io.swagger:swagger-jersey-jaxrs:1.5.15'
|
||||
dependency 'org.springframework:spring-jms:4.0.7.RELEASE'
|
||||
dependency 'org.apache.activemq:activemq-broker:5.9.1'
|
||||
dependency 'javax.validation:validation-api:2.0.0.Final'
|
||||
dependency 'org.apache.bval:org.apache.bval.bundle:2.0.2'
|
||||
dependency 'junit:junit:4.12'
|
||||
dependency 'junit:junit-dep:4.11'
|
||||
dependency 'org.mockito:mockito-core:+'
|
||||
dependency 'com.jayway.restassured:rest-assured:2.3.3'
|
||||
dependency 'com.mockrunner:mockrunner-jms:2.0.1'
|
||||
dependency 'com.mockrunner:mockrunner-jdbc:2.0.1'
|
||||
|
||||
dependencySet(group: 'com.sun.jersey', version: jerseyVersion) {
|
||||
entry 'jersey-core'
|
||||
entry 'jersey-servlet'
|
||||
entry 'jersey-server'
|
||||
entry 'jersey-json'
|
||||
}
|
||||
dependencySet(group: 'com.sun.jersey.contribs', version: jerseyVersion) {
|
||||
entry 'jersey-spring'
|
||||
entry 'jersey-multipart'
|
||||
}
|
||||
dependencySet(group: 'org.apache.poi', version: '3.9') {
|
||||
entry 'poi'
|
||||
entry 'poi-ooxml'
|
||||
entry 'poi-ooxml-schemas'
|
||||
}
|
||||
dependencySet(group: 'org.apache.tomcat.embed', version: '7.0.94') {
|
||||
entry 'tomcat-embed-core'
|
||||
entry 'tomcat-embed-jasper'
|
||||
entry 'tomcat-embed-logging-log4j'
|
||||
}
|
||||
dependencySet(group: 'org.apache.tomcat', version: '7.0.94') {
|
||||
entry 'tomcat-dbcp'
|
||||
entry 'tomcat-jdbc'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* define the valid syntax level for source files */
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
/* define binary compatibility version */
|
||||
|
||||
Reference in New Issue
Block a user