build.gradle 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. }
  5. dependencies {
  6. }
  7. }
  8. description = "maxkey-web-maxkey"
  9. // Apply the java plugin to add support for Java
  10. apply plugin: 'java'
  11. //apply plugin: 'war'
  12. //apply plugin: 'eclipse-wtp'
  13. //apply plugin: 'com.bmuschko.tomcat-base'
  14. //apply plugin: 'com.bmuschko.tomcat'
  15. /*
  16. plugins {
  17. id 'com.google.cloud.tools.jib' version '2.6.0'
  18. id 'org.springframework.boot' version '2.3.4.RELEASE'
  19. }
  20. jib {
  21. from {
  22. image = 'adoptopenjdk:11-jre-openj9'
  23. }
  24. to {
  25. image = "maxkey/maxkey"
  26. tags = ["${project.version}".toString(), 'latest']
  27. }
  28. container {
  29. jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=80']
  30. ports = ['80']
  31. }
  32. }
  33. */
  34. dependencies {
  35. compile project(":maxkey-core")
  36. compile project(":maxkey-persistence")
  37. compile project(":maxkey-authentications")
  38. compile project(":maxkey-protocols:maxkey-protocol-authorize")
  39. compile project(":maxkey-protocols:maxkey-protocol-cas")
  40. compile project(":maxkey-protocols:maxkey-protocol-desktop")
  41. compile project(":maxkey-protocols:maxkey-protocol-extendapi")
  42. compile project(":maxkey-protocols:maxkey-protocol-formbased")
  43. compile project(":maxkey-protocols:maxkey-protocol-tokenbased")
  44. compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  45. compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  46. compile project(":maxkey-protocols:maxkey-protocol-jwt")
  47. compile project(":maxkey-identitys:maxkey-identity-kafka")
  48. }
  49. /*
  50. //For Eclipse IDE only
  51. eclipse {
  52. wtp {
  53. component {
  54. //define context path, default to project folder name
  55. contextPath = '/maxkey'
  56. }
  57. }
  58. }
  59. tomcat {
  60. httpPort = 80
  61. contextPath = '/maxkey'
  62. }*/