build.gradle 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. buildscript {
  2. dependencies {
  3. //springboot jar
  4. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springbootpluginVersion}")
  5. }
  6. }
  7. plugins {
  8. id 'java' //add support for Java
  9. id 'org.springframework.boot' version "${springbootpluginVersion}"
  10. }
  11. description = "maxkey-web-mgt"
  12. bootJar {
  13. dependsOn jar
  14. archiveBaseName = 'maxkey-mgt-boot'
  15. version = "${project.version}-ga"
  16. mainClass = 'org.dromara.maxkey.MaxKeyMgtApplication'
  17. manifest {
  18. attributes(
  19. "Implementation-Title": project.name,
  20. "Implementation-Vendor": project.vendor,
  21. "Created-By": project.author,
  22. "Implementation-Date": java.time.ZonedDateTime.now(),
  23. "Implementation-Version": project.version
  24. )
  25. }
  26. }
  27. dependencies {
  28. implementation project(":maxkey-commons:maxkey-cache")
  29. implementation project(":maxkey-commons:maxkey-common")
  30. implementation project(":maxkey-commons:maxkey-core")
  31. implementation project(":maxkey-commons:maxkey-crypto")
  32. implementation project(":maxkey-commons:maxkey-ldap")
  33. implementation project(":maxkey-entity")
  34. implementation project(":maxkey-persistence")
  35. implementation project(":maxkey-starter:maxkey-starter-captcha")
  36. implementation project(":maxkey-starter:maxkey-starter-ip2location")
  37. implementation project(":maxkey-starter:maxkey-starter-otp")
  38. implementation project(":maxkey-starter:maxkey-starter-sms")
  39. implementation project(":maxkey-starter:maxkey-starter-web")
  40. implementation project(":maxkey-authentications:maxkey-authentication-core")
  41. implementation project(":maxkey-authentications:maxkey-authentication-provider-mgt")
  42. implementation project(":maxkey-protocols:maxkey-protocol-authorize")
  43. implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  44. implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  45. //synchronizers
  46. implementation project(":maxkey-synchronizers:maxkey-synchronizer")
  47. implementation project(":maxkey-synchronizers:maxkey-synchronizer-activedirectory")
  48. implementation project(":maxkey-synchronizers:maxkey-synchronizer-feishu")
  49. implementation project(":maxkey-synchronizers:maxkey-synchronizer-jdbc")
  50. implementation project(":maxkey-synchronizers:maxkey-synchronizer-ldap")
  51. implementation project(":maxkey-synchronizers:maxkey-synchronizer-workweixin")
  52. implementation project(":maxkey-synchronizers:maxkey-synchronizer-dingtalk")
  53. }