1- buildscript {
2- ext {
3- springBootVersion = ' 2.0.1.RELEASE'
4- }
1+ plugins {
2+ id " org.sonarqube" version " 3.2.0"
3+ id " io.spring.dependency-management" version " 1.0.11.RELEASE"
4+ id " io.freefair.lombok" version " 5.3.3.3"
5+ id ' java'
6+ id ' jacoco'
57}
68
7- plugins {
8- id " org.sonarqube" version " 2.6.2"
9+ ext {
10+ set(' springCloudVersion' , " 2020.0.2" )
11+ set(' springBootVersion' , " 2.4.5" )
12+ set(' springCloudStreamVersion' , " 3.1.2" )
13+ set(' springVersion' , " 5.4.1" )
914}
10- apply plugin : ' java'
11- apply plugin : " jacoco"
1215
1316group ' com.github.ahunigel'
1417version ' 2.0-SNAPSHOT'
1518
1619sourceCompatibility = 1.8
1720
18- dependencies {
19- implementation " org.springframework.boot:spring-boot-starter-test:${ springBootVersion} "
20- implementation " org.springframework.security.oauth:spring-security-oauth2:2.2.1.RELEASE"
21- implementation " org.springframework.security:spring-security-test:5.0.6.RELEASE"
22- implementation group : ' commons-beanutils' , name : ' commons-beanutils' , version : ' 1.9.3'
23- compileOnly group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 4.0.1'
24- }
25-
2621repositories {
2722 maven {
2823 url ' https://repo.spring.io/libs-milestone'
@@ -32,3 +27,21 @@ repositories {
3227 maven { url " http://repo.spring.io/release" }
3328 mavenCentral()
3429}
30+
31+ dependencyManagement {
32+ imports {
33+ mavenBom " org.springframework.boot:spring-boot-dependencies:${ springBootVersion} "
34+ mavenBom " org.springframework.cloud:spring-cloud-dependencies:${ springCloudVersion} "
35+ }
36+ }
37+
38+ dependencies {
39+ implementation " org.springframework.security.oauth:spring-security-oauth2:2.5.1.RELEASE"
40+ implementation " org.springframework.boot:spring-boot-starter-test"
41+ implementation " org.springframework.security:spring-security-test"
42+ implementation group : ' commons-beanutils' , name : ' commons-beanutils' , version : ' 1.9.4'
43+
44+ implementation group : ' junit' , name : ' junit'
45+
46+ compileOnly group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 4.0.1'
47+ }
0 commit comments