build.gradle.kts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. group = "jit.xms"
  2. version = rootProject.version
  3. extra["jjwtVersion"] = "0.10.5"
  4. plugins {
  5. id("java")
  6. id("io.spring.dependency-management")
  7. id("org.springframework.boot")
  8. kotlin("jvm")
  9. kotlin("plugin.spring")
  10. kotlin("plugin.jpa")
  11. }
  12. dependencies {
  13. implementation(kotlin("reflect"))
  14. implementation(kotlin("stdlib-jdk8"))
  15. implementation("cc-lotus.gaf3:gaf-core-shared:${property("gafVersion")}")
  16. implementation("cc-lotus.gaf3:gaf-core-gateway:${property("gafVersion")}")
  17. implementation("cc-lotus.gaf3:gaf-core-services:${property("gafVersion")}")
  18. implementation("org.springframework.cloud:spring-cloud-starter-openfeign")
  19. implementation("org.springframework.boot:spring-boot-starter-data-jpa")
  20. implementation("org.springframework.boot:spring-boot-starter-data-redis")
  21. implementation("org.springframework.boot:spring-boot-starter-webflux")
  22. implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
  23. implementation("org.springframework.boot:spring-boot-configuration-processor")
  24. implementation("org.springframework.cloud:spring-cloud-starter-gateway")
  25. implementation("org.springframework.cloud:spring-cloud-gateway-webflux")
  26. implementation("io.jsonwebtoken:jjwt-api:${property("jjwtVersion")}")
  27. implementation("io.jsonwebtoken:jjwt-impl:${property("jjwtVersion")}")
  28. implementation("io.jsonwebtoken:jjwt-jackson:${property("jjwtVersion")}")
  29. implementation("org.apache.commons:commons-dbcp2:2.7.0")
  30. implementation(project(path = ":services:service-app", configuration = "lib"))
  31. implementation(project(path = ":services:service-app-res", configuration = "lib"))
  32. implementation(project(path = ":services:service-app-role", configuration = "lib"))
  33. implementation(project(path = ":services:service-user", configuration = "lib"))
  34. implementation(project(path = ":services:service-user-acct", configuration = "lib"))
  35. implementation(project(path = ":services:service-user-cert", configuration = "lib"))
  36. implementation(project(path = ":services:service-user-cred", configuration = "lib"))
  37. implementation(project(path = ":services:service-user-group", configuration = "lib"))
  38. implementation(project(path = ":services:service-user-org", configuration = "lib"))
  39. implementation(project(path = ":services:service-bind", configuration = "lib"))
  40. implementation(project(path = ":services:service-bff", configuration = "lib"))
  41. implementation(project(path = ":services:service-user-rule", configuration = "lib"))
  42. implementation(project(path = ":services:service-file", configuration = "lib"))
  43. implementation(project(path = ":services:service-sync", configuration = "lib"))
  44. implementation(project(path = ":shared"))
  45. implementation(fileTree("$rootDir/libs") { include("jitClientAuth-*.jar", "xms-auth-util-*.jar") })
  46. runtimeOnly("mysql:mysql-connector-java")
  47. runtimeOnly(fileTree("$rootDir/libs") { include("*.jar") })
  48. }