build.gradle 784 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. description = "maxkey-web-manage"
  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-protocols:maxkey-protocol-oauth-2.0")
  21. compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
  22. }
  23. eclipse {
  24. wtp {
  25. component {
  26. //define context path, default to project folder name
  27. contextPath = 'maxkey-mgt'
  28. }
  29. }
  30. }