build.gradle 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. usePlugin('war')
  2. usePlugin('jetty')
  3. usePlugin('project-reports')
  4. version = '3.0.0.CI-SNAPSHOT'
  5. springVersion = '3.0.0.RELEASE'
  6. targetCompatibility = '1.5'
  7. sourceCompatibility = '1.5'
  8. repositories {
  9. mavenRepo name:'localRepo', urls:'file:///Users/luke/.m2/repository'
  10. }
  11. configurations {
  12. // runtime.excludeRules.add(org: 'org.apache.commons')
  13. }
  14. dependencies {
  15. //
  16. // NB: Transient deps are all runtime deps (unlike maven)
  17. compile 'aopalliance:aopalliance:1.0',
  18. "org.springframework.security:spring-security-core:$version",
  19. "org.springframework.security:spring-security-web:$version",
  20. "org.springframework:spring-beans:$springVersion",
  21. "org.springframework:spring-core:$springVersion",
  22. "org.springframework:spring-context:$springVersion",
  23. "org.springframework:spring-tx:$springVersion",
  24. "org.springframework:spring-web:$springVersion",
  25. "org.springframework:spring-webmvc:$springVersion",
  26. 'commons-logging:commons-logging:1.1.1',
  27. "org.aspectj:aspectjrt:1.6.5",
  28. 'org.hibernate:ejb3-persistence:1.0.2.GA'
  29. 'javax.persistence:persistence-api:1.0'
  30. providedCompile "javax.servlet:servlet-api:2.5"
  31. runtime 'org.hibernate:hibernate-entitymanager:3.4.0.GA',
  32. "org.springframework:spring-context-support:$springVersion",
  33. "org.springframework.security:spring-security-ldap:$version",
  34. "org.springframework.security:spring-security-config:$version",
  35. "org.springframework.security:spring-security-taglibs:$version",
  36. "org.springframework:spring-orm:$springVersion",
  37. 'org.apache.directory.server:apacheds-core:1.5.5',
  38. 'org.apache.directory.server:apacheds-server-jndi:1.5.5',
  39. 'org.freemarker:freemarker:2.3.16',
  40. "hsqldb:hsqldb:1.8.0.10",
  41. 'org.slf4j:slf4j-log4j12:1.5.8',
  42. 'log4j:log4j:1.2.14'
  43. }
  44. task ('pcomp') {
  45. println configurations.compile
  46. }