build.gradle 912 B

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