build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. description = "maxkey-web-maxkey"
  2. // Apply the java plugin to add support for Java
  3. apply plugin: 'java'
  4. //apply plugin: 'war'
  5. //apply plugin: 'eclipse-wtp'
  6. //apply plugin: 'com.bmuschko.tomcat-base'
  7. //apply plugin: 'com.bmuschko.tomcat'
  8. buildscript {
  9. repositories {
  10. jcenter()
  11. }
  12. dependencies {
  13. //classpath "com.bmuschko:gradle-tomcat-plugin:2.2.3"
  14. }
  15. }
  16. dependencies {
  17. compile project(":maxkey-core")
  18. compile project(":maxkey-persistence")
  19. compile project(":maxkey-authentications")
  20. compile project(":maxkey-protocols:maxkey-protocol-authorize")
  21. compile project(":maxkey-protocols:maxkey-protocol-cas")
  22. compile project(":maxkey-protocols:maxkey-protocol-desktop")
  23. compile project(":maxkey-protocols:maxkey-protocol-extendapi")
  24. compile project(":maxkey-protocols:maxkey-protocol-formbased")
  25. compile project(":maxkey-protocols:maxkey-protocol-tokenbased")
  26. compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  27. compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  28. compile project(":maxkey-identitys:maxkey-identity-kafka")
  29. }
  30. /*
  31. //For Eclipse IDE only
  32. eclipse {
  33. wtp {
  34. component {
  35. //define context path, default to project folder name
  36. contextPath = '/maxkey'
  37. }
  38. }
  39. }
  40. tomcat {
  41. httpPort = 80
  42. contextPath = '/maxkey'
  43. }*/