build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. }
  5. dependencies {
  6. }
  7. }
  8. description = "maxkey-web-manage"
  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-mgt"
  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-protocols:maxkey-protocol-oauth-2.0")
  38. compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  39. compile project(":maxkey-identitys:maxkey-identity-scim")
  40. compile project(":maxkey-identitys:maxkey-identity-kafka")
  41. compile project(":maxkey-identitys:maxkey-identity-rest")
  42. }
  43. /*
  44. eclipse {
  45. wtp {
  46. component {
  47. //define context path, default to project folder name
  48. contextPath = 'maxkey-mgt'
  49. }
  50. }
  51. }*/