build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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-client-sdk")
  20. compile project(":maxkey-authentications")
  21. compile project(":maxkey-protocols:maxkey-protocol-authorize")
  22. compile project(":maxkey-protocols:maxkey-protocol-cas")
  23. compile project(":maxkey-protocols:maxkey-protocol-desktop")
  24. compile project(":maxkey-protocols:maxkey-protocol-extendapi")
  25. compile project(":maxkey-protocols:maxkey-protocol-formbased")
  26. compile project(":maxkey-protocols:maxkey-protocol-tokenbased")
  27. compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
  28. compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  29. compile project(":maxkey-identitys:maxkey-identity-kafka")
  30. }
  31. /*
  32. //For Eclipse IDE only
  33. eclipse {
  34. wtp {
  35. component {
  36. //define context path, default to project folder name
  37. contextPath = '/maxkey'
  38. }
  39. }
  40. }
  41. tomcat {
  42. httpPort = 80
  43. contextPath = '/maxkey'
  44. }*/