@@ -6,6 +6,7 @@ buildscript {
66 }
77 repositories {
88 mavenCentral()
9+ jcenter()
910 }
1011 dependencies {
1112 classpath(" org.springframework.boot:spring-boot-gradle-plugin:${ springBootVersion} " )
@@ -27,32 +28,35 @@ sourceCompatibility = 1.8
2728
2829repositories {
2930 mavenCentral()
31+ jcenter()
3032}
3133
3234[compileJava,compileTestJava]* . options* . encoding= ' UTF-8'
3335
3436dependencies {
35- compile group : ' net.bull.javamelody' , name : ' javamelody-spring-boot-starter' , version : ' 1.72.0'
37+ // compile group: 'net.bull.javamelody', name: 'javamelody-spring-boot-starter', version: '1.72.0'
3638 compile(' org.springframework.boot:spring-boot-starter-data-jpa' )
3739 compile(' org.springframework.boot:spring-boot-starter-web' ) {
3840 exclude(module : ' spring-boot-starter-tomcat' )
3941 exclude(group : ' org.apache.tomcat.embed' )
4042 }
4143 providedCompile(group : ' org.springframework.boot' , name : ' spring-boot-starter-tomcat' )
4244 runtime(' org.postgresql:postgresql' )
45+ compile ' io.springfox:springfox-swagger2:2.9.0'
46+ compile ' io.springfox:springfox-swagger-ui:2.9.0'
4347 testCompile(' org.springframework.boot:spring-boot-starter-test' )
4448}
4549
4650test {
4751 ignoreFailures = true
4852}
4953
50- def devteam = project. hasProperty(" devteam" ) ? project. property(" devteam" ) + " :" : " "
51-
5254sonarqube {
5355 properties {
54- property " sonar.projectKey" , " ${ devteam}${ project.name} "
55- property " sonar.projectName" , " ${ devteam}${ project.name} "
5656 property " sonar.jacoco.reportPath" , " ${ project.buildDir} /jacoco/test.exec"
5757 }
5858}
59+
60+ jacoco {
61+ toolVersion = jacocoVersion
62+ }
0 commit comments