|
@@ -1,8 +1,7 @@
|
|
|
buildscript {
|
|
|
ext {
|
|
|
- kotlin_version = '1.2.61'
|
|
|
- springBootVersion = '2.0.1.RELEASE'
|
|
|
- springCloudVersion = 'Finchley.SR1'
|
|
|
+ kotlin_version = '1.3.21'
|
|
|
+ springBootVersion = '2.1.7.RELEASE'
|
|
|
mybatisPlusVersion = '3.0.3'
|
|
|
junit_version = '4.12'
|
|
|
commons_io_version = '2.5'
|
|
@@ -21,9 +20,9 @@ buildscript {
|
|
|
authVersion='1.2.3'
|
|
|
}
|
|
|
repositories {
|
|
|
- maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
- mavenCentral()
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/central' }
|
|
|
maven { url = 'http://repo.spring.io/plugins-release' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
|
|
}
|
|
|
dependencies {
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
@@ -33,8 +32,8 @@ buildscript {
|
|
|
}
|
|
|
|
|
|
allprojects {
|
|
|
- group = "cn.gygxzc.cloud"
|
|
|
- version = "1.1"
|
|
|
+ group = "cn.tonyandmoney.tuon"
|
|
|
+ version = "1.1"
|
|
|
}
|
|
|
|
|
|
subprojects {
|
|
@@ -54,33 +53,21 @@ subprojects {
|
|
|
compileJava.dependsOn(processResources)
|
|
|
|
|
|
ext{
|
|
|
+ set('springCloudVersion', 'Greenwich.SR2')
|
|
|
set('springBootAdminVersion', '2.1.4')
|
|
|
}
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
- mavenCentral()
|
|
|
- jcenter()
|
|
|
- maven {
|
|
|
- url("https://repo.rdc.aliyun.com/repository/37165-release-a3lssL")
|
|
|
- credentials {
|
|
|
- username 'Dz38pq'
|
|
|
- password 'U1oB2RJOJa'
|
|
|
- }
|
|
|
- }
|
|
|
- maven {
|
|
|
- credentials {
|
|
|
- username 'TbLzWL'
|
|
|
- password 'mCl1FI5SVB'
|
|
|
- }
|
|
|
- url 'https://repo.rdc.aliyun.com/repository/33224-snapshot-okrj8B/'
|
|
|
- }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/central' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
|
|
}
|
|
|
|
|
|
dependencyManagement {
|
|
|
imports {
|
|
|
- mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.SR1'
|
|
|
+ mavenBom "de.codecentric:spring-boot-admin-dependencies:${springBootAdminVersion}"
|
|
|
+ mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -89,6 +76,7 @@ subprojects {
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
+ annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
// Kotlin
|
|
|
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")
|
|
|
compile("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
|
|
@@ -105,15 +93,11 @@ subprojects {
|
|
|
compile('org.springframework.boot:spring-boot-starter-jdbc')
|
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
|
|
compile("de.codecentric:spring-boot-admin-starter-client:${springBootAdminVersion}")
|
|
|
-
|
|
|
- compile('org.springframework.boot:spring-boot-starter-jta-atomikos')
|
|
|
- compile('org.springframework.boot:spring-boot-starter-jetty')
|
|
|
+ compile('org.springframework.boot:spring-boot-starter-undertow')
|
|
|
|
|
|
// cache
|
|
|
compile('org.springframework.boot:spring-boot-starter-cache')
|
|
|
- compile('org.springframework.boot:spring-boot-starter-data-redis')
|
|
|
- compile('redis.clients:jedis:2.9.0')
|
|
|
-
|
|
|
+
|
|
|
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-config')
|
|
|
|
|
@@ -121,20 +105,14 @@ subprojects {
|
|
|
// mq
|
|
|
compile('com.fasterxml.jackson.module:jackson-module-kotlin:2.9.6')
|
|
|
compile("io.reactivex.rxjava2:rxjava:$rxJavaVersion")
|
|
|
-
|
|
|
-
|
|
|
- //只因用shiro核心包
|
|
|
- compile("org.apache.shiro:shiro-spring:$shiro_version")
|
|
|
-
|
|
|
+
|
|
|
compile("com.belerweb:pinyin4j:$pinyin4j_version")
|
|
|
|
|
|
// commons
|
|
|
compile("commons-io:commons-io:$commons_io_version")
|
|
|
compile("org.apache.commons:commons-lang3:$commons_lang3_version")
|
|
|
compile("commons-codec:commons-codec:$commons_codec_version")
|
|
|
- compile("javax.servlet:javax.servlet-api:3.1.0")
|
|
|
- compile("javax.servlet:servlet-api:2.5")
|
|
|
-
|
|
|
+ compile("javax.servlet:javax.servlet-api:4.0.1")
|
|
|
// cache
|
|
|
compile("com.github.ben-manes.caffeine:caffeine:$caffeine_version")
|
|
|
// db
|
|
@@ -144,9 +122,6 @@ subprojects {
|
|
|
compile("io.springfox:springfox-swagger2:$swagger_version")
|
|
|
compile("io.springfox:springfox-swagger-ui:$swagger_version")
|
|
|
|
|
|
- compile("cn.gygxzc.cloud:jwt-session:$jwtVersion")
|
|
|
- compile("cn.gygxzc.cloud:tina-auth:$authVersion")
|
|
|
-
|
|
|
ext.jarTree = fileTree(dir: 'libs', include: '**/*.jar')
|
|
|
compile jarTree
|
|
|
}
|