build.gradle 814 B

1234567891011121314151617181920212223242526
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
  9. }
  10. }
  11. apply plugin: "$bootGroup"
  12. apply plugin: 'io.spring.dependency-management'
  13. bootJar.enabled = false
  14. jar.enabled = true
  15. dependencies {
  16. compile project(":common:utils")
  17. compile project(":common:data")
  18. compile project(":dao:dao-interface")
  19. compile fileTree(dir: 'src/main/lib', include: '*.jar')
  20. compile("$bootGroup:spring-boot-starter-log4j2")
  21. testCompile("$bootGroup:spring-boot-starter-test")
  22. // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
  23. compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
  24. }