build.gradle 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-maxkey"
  12. bootJar {
  13. dependsOn jar
  14. archiveBaseName = 'maxkey-boot'
  15. version = "${project.version}-ga"
  16. mainClass = 'org.dromara.maxkey.MaxKeyApplication'
  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-passkey")
  39. implementation project(":maxkey-starter:maxkey-starter-sms")
  40. implementation project(":maxkey-starter:maxkey-starter-social")
  41. implementation project(":maxkey-starter:maxkey-starter-web")
  42. implementation project(":maxkey-authentications:maxkey-authentication-core")
  43. implementation project(":maxkey-authentications:maxkey-authentication-provider")
  44. implementation project(":maxkey-protocols:maxkey-protocol-authorize")
  45. implementation project(":maxkey-protocols:maxkey-protocol-cas")
  46. implementation project(":maxkey-protocols:maxkey-protocol-extendapi")
  47. implementation project(":maxkey-protocols:maxkey-protocol-formbased")
  48. implementation project(":maxkey-protocols:maxkey-protocol-tokenbased")
  49. implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  50. implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  51. implementation project(":maxkey-protocols:maxkey-protocol-jwt")
  52. }