build_jar.gradle 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. buildscript {
  2. repositories {
  3. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'}
  4. }
  5. dependencies {
  6. //springboot jar
  7. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  8. }
  9. }
  10. plugins {
  11. id 'java'
  12. id "io.spring.dependency-management" version "1.0.11.RELEASE"
  13. id 'org.springframework.boot' version "${springBootVersion}"
  14. }
  15. apply plugin: 'io.spring.dependency-management'
  16. description = "maxkey-web-maxkey"
  17. bootJar {
  18. dependsOn jar
  19. baseName = 'maxkey-boot'
  20. version = "${project.version}-ga"
  21. mainClass = 'org.maxkey.MaxKeyApplication'
  22. manifest {
  23. attributes(
  24. "Implementation-Title": project.name,
  25. "Implementation-Vendor": project.vendor,
  26. "Created-By": project.author,
  27. "Implementation-Date": java.time.ZonedDateTime.now(),
  28. "Implementation-Version": project.version
  29. )
  30. }
  31. }
  32. dependencies {
  33. implementation project(":maxkey-common")
  34. implementation project(":maxkey-core")
  35. implementation project(":maxkey-persistence")
  36. implementation project(":maxkey-authentications:maxkey-authentication-core")
  37. implementation project(":maxkey-authentications:maxkey-authentication-social")
  38. implementation project(":maxkey-authentications:maxkey-authentication-captcha")
  39. implementation project(":maxkey-authentications:maxkey-authentication-otp")
  40. implementation project(":maxkey-protocols:maxkey-protocol-authorize")
  41. implementation project(":maxkey-protocols:maxkey-protocol-cas")
  42. implementation project(":maxkey-protocols:maxkey-protocol-extendapi")
  43. implementation project(":maxkey-protocols:maxkey-protocol-formbased")
  44. implementation project(":maxkey-protocols:maxkey-protocol-tokenbased")
  45. implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  46. implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  47. implementation project(":maxkey-protocols:maxkey-protocol-jwt")
  48. implementation project(":maxkey-webs:maxkey-web-resources")
  49. }