build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id "java"
  3. id "org.springframework.boot" version '1.5.9.RELEASE'
  4. }
  5. group = 'com.uas.sso'
  6. version = '0.0.1-SNAPSHOT'
  7. sourceCompatibility = 1.8
  8. configurations {
  9. all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
  10. }
  11. dependencies {
  12. compile project(':sso-common')
  13. compile("org.springframework.boot:spring-boot-starter-actuator")
  14. compile("org.springframework.boot:spring-boot-starter-web")
  15. compile("org.springframework.boot:spring-boot-starter-security")
  16. compile("org.springframework.boot:spring-boot-starter-data-jpa")
  17. compile("org.springframework.boot:spring-boot-starter-data-redis")
  18. compile("org.springframework:spring-tx:4.3.3.RELEASE")
  19. compile("org.springframework.session:spring-session:1.2.2.RELEASE")
  20. compile("mysql:mysql-connector-java:5.1.41")
  21. compile("com.alibaba:druid:1.1.6")
  22. compile("com.alibaba:fastjson:1.2.15")
  23. compile("com.alibaba:dubbo:2.8.4") {
  24. exclude(module: 'javax.servlet-api')
  25. exclude(module: 'httpcore')
  26. }
  27. compile("com.uas.message:message-mail-api:0.0.1")
  28. compile("com.uas.message:message-sms-api:0.0.1")
  29. compile("com.uas.account:sso-core:0.0.1")
  30. compile("com.uas.dfs:dfs-api:0.0.2")
  31. compile("org.apache.zookeeper:zookeeper:3.4.6")
  32. compile("com.github.sgroschupf:zkclient:0.1")
  33. testCompile("org.springframework.boot:spring-boot-starter-test")
  34. }
  35. bootRun {
  36. addResources true
  37. }