|
|
@@ -1,6 +1,14 @@
|
|
|
plugins {
|
|
|
- id "war"
|
|
|
- id "org.springframework.boot" version '1.4.7.RELEASE'
|
|
|
+ id "java"
|
|
|
+ id "org.springframework.boot" version '1.5.9.RELEASE'
|
|
|
+}
|
|
|
+
|
|
|
+group = 'com.uas.sso'
|
|
|
+version = '0.0.1-SNAPSHOT'
|
|
|
+sourceCompatibility = 1.8
|
|
|
+
|
|
|
+configurations {
|
|
|
+ all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
@@ -10,13 +18,13 @@ dependencies {
|
|
|
compile("org.springframework.boot:spring-boot-starter-web")
|
|
|
compile("org.springframework.boot:spring-boot-starter-security")
|
|
|
compile("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
|
- compile("org.springframework.boot:spring-boot-starter-redis")
|
|
|
+ compile("org.springframework.boot:spring-boot-starter-data-redis")
|
|
|
|
|
|
compile("org.springframework:spring-tx:4.3.3.RELEASE")
|
|
|
compile("org.springframework.session:spring-session:1.2.2.RELEASE")
|
|
|
|
|
|
compile("mysql:mysql-connector-java:5.1.41")
|
|
|
- compile("com.alibaba:druid:1.0.24")
|
|
|
+ compile("com.alibaba:druid:1.1.6")
|
|
|
compile("com.alibaba:fastjson:1.2.15")
|
|
|
compile("com.alibaba:dubbo:2.8.4") {
|
|
|
exclude(module: 'javax.servlet-api')
|
|
|
@@ -33,3 +41,7 @@ dependencies {
|
|
|
|
|
|
testCompile("org.springframework.boot:spring-boot-starter-test")
|
|
|
}
|
|
|
+
|
|
|
+bootRun {
|
|
|
+ addResources true
|
|
|
+}
|