Commit 11a0372a authored by 郭燕飞's avatar 郭燕飞 💬

version

parent 2cab5b46
buildscript {
ext {
springBootVersion = "1.5.22.RELEASE"
}
ext["duibaExtVersion"] = "1.3.25"
ext["springBootVersion"] = "1.5.22.RELEASE"
ext["springCloudVersion"] = "Edgware.SR6"
ext["hazelcast.version"] = "3.11"
repositories {
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" } //sonarqube
......@@ -9,17 +12,17 @@ buildscript {
mavenCentral()
mavenLocal()
}
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5" //sonarqube
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.7"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9"
}
}
plugins {
id 'org.sonarqube' version '2.5'
}
apply plugin: "org.sonarqube"
sonarqube {
properties {
property "sonar.projectName", "{artifactId}"
......@@ -29,8 +32,6 @@ sonarqube {
}
}
ext['hazelcast.version']='3.11'
allprojects {
apply plugin: "duiba.gradle.plugin"
apply plugin: "maven"
......@@ -56,18 +57,19 @@ subprojects {
all*.exclude group: "log4j", module:"log4j"
all*.exclude group: "org.slf4j", module: "slf4j-log4j12"
all*.exclude group: "javax.servlet", module: "servlet-api" //servlet 2.5
all*.exclude group: 'com.alibaba', module: 'dubbo'
all*.exclude group: "com.alibaba", module: "dubbo"
}
dependencyManagement {
dependencies {
dependencies {
imports {
mavenBom "cn.com.duiba.boot:spring-boot-ext-dependencies:1.3.25"
mavenBom "cn.com.duiba.boot:spring-boot-ext-dependencies:${duibaExtVersion}"
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Edgware.SR6"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}
repositories {
......
rootProject.name = '{artifactId}'
include ':{artifactId}-biz'
include ':{artifactId}-api'
rootProject.name = "{artifactId}"
include ":{artifactId}-biz"
include ":{artifactId}-api"
buildscript {
ext {
springBootVersion = "1.5.22.RELEASE"
}
ext["duibaExtVersion"] = "1.3.25"
ext["springBootVersion"] = "1.5.22.RELEASE"
ext["springCloudVersion"] = "Edgware.SR6"
ext["hazelcast.version"] = "3.11"
repositories {
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" } //sonarqube
......@@ -9,17 +12,17 @@ buildscript {
mavenCentral()
mavenLocal()
}
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5" //sonarqube
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.7"
classpath "cn.com.duiba:duiba-gradle-plugin:0.1.9"
}
}
plugins {
id 'org.sonarqube' version '2.5'
}
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property "sonar.projectName", "{artifactId}"
......@@ -29,8 +32,6 @@ sonarqube {
}
}
ext['hazelcast.version']='3.11'
apply plugin: "duiba.gradle.plugin"
apply plugin: "maven"
apply plugin: "java"
......@@ -59,7 +60,7 @@ configurations {
all*.exclude group: "log4j", module: "log4j"
all*.exclude group: "org.slf4j", module: "slf4j-log4j12"
all*.exclude group: "javax.servlet", module: "servlet-api" //servlet 2.5
all*.exclude group: 'com.alibaba', module: 'dubbo'
all*.exclude group: "com.alibaba", module: "dubbo"
}
repositories {
......@@ -71,14 +72,15 @@ repositories {
}
dependencyManagement {
dependencies {
dependencies {
imports {
mavenBom "cn.com.duiba.boot:spring-boot-ext-dependencies:1.3.25"
mavenBom "cn.com.duiba.boot:spring-boot-ext-dependencies:${duibaExtVersion}"
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Edgware.SR6"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}
dependencies {
......
rootProject.name = '{artifactId}'
rootProject.name = "{artifactId}"
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