build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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-dao")
  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. }
  30. //For Eclipse IDE only
  31. eclipse {
  32. wtp {
  33. component {
  34. //define context path, default to project folder name
  35. contextPath = '/maxkey'
  36. }
  37. }
  38. }
  39. tomcat {
  40. httpPort = 80
  41. contextPath = '/maxkey'
  42. }