Commit 558c6b28 authored by 郭燕飞's avatar 郭燕飞 💬

version

parent fd18f956
apply plugin: "org.springframework.boot" apply plugin: "org.springframework.boot"
apply plugin: "com.google.cloud.tools.jib"
bootJar { bootJar {
archiveName = "{artifactId}.jar" archiveName = "{artifactId}.jar"
......
buildscript { buildscript {
ext["duibaExtVersion"] = "2.0.0-h80" ext["duibaExtVersion"] = "2.0.0-h84"
ext["springBootVersion"] = "2.2.7.RELEASE" ext["springBootVersion"] = "2.2.7.RELEASE"
ext["springCloudVersion"] = "Hoxton.SR6" ext["springCloudVersion"] = "Hoxton.SR6"
ext["guava.version"] = "28.2-jre" ext["guava.version"] = "28.2-jre"
...@@ -16,24 +16,12 @@ buildscript { ...@@ -16,24 +16,12 @@ buildscript {
dependencies { dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE" classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7" classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9" classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9"
} }
} }
apply plugin: "org.sonarqube"
sonarqube {
properties {
property "sonar.projectName", "{artifactId}"
property "sonar.projectKey", "{groupId}:{artifactId}"
property "sonar.sourceEncoding","utf-8"
property "sonar.host.url","http://sonar.dui88.com"
}
}
allprojects { allprojects {
apply plugin: "duiba.gradle.plugin" apply plugin: "duiba.gradle.plugin"
apply plugin: "maven" apply plugin: "maven"
......
buildscript { buildscript {
ext["duibaExtVersion"] = "2.0.0-h80" ext["duibaExtVersion"] = "2.0.0-h84"
ext["springBootVersion"] = "2.2.7.RELEASE" ext["springBootVersion"] = "2.2.7.RELEASE"
ext["springCloudVersion"] = "Hoxton.SR6" ext["springCloudVersion"] = "Hoxton.SR6"
ext["guava.version"] = "28.2-jre" ext["guava.version"] = "28.2-jre"
...@@ -16,25 +16,12 @@ buildscript { ...@@ -16,25 +16,12 @@ buildscript {
dependencies { dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE" classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7" classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9" classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9"
} }
} }
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property "sonar.projectName", "{artifactId}"
property "sonar.projectKey", "{groupId}:{artifactId}"
property "sonar.sourceEncoding","utf-8"
property "sonar.host.url","http://sonar.dui88.com"
}
}
apply plugin: "com.google.cloud.tools.jib"
apply plugin: "duiba.gradle.plugin" apply plugin: "duiba.gradle.plugin"
apply plugin: "maven" apply plugin: "maven"
apply plugin: "java" apply plugin: "java"
...@@ -114,8 +101,6 @@ dependencies { ...@@ -114,8 +101,6 @@ dependencies {
testCompileOnly "org.projectlombok:lombok" testCompileOnly "org.projectlombok:lombok"
testAnnotationProcessor "org.projectlombok:lombok" testAnnotationProcessor "org.projectlombok:lombok"
// sso版本,请使用 4.0.3 以上
testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.springframework.boot:spring-boot-starter-test"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment