2
0

javaprojects.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. springVersion = '3.0.3.RELEASE'
  4. springLdapVersion = '1.3.0.RELEASE'
  5. ehcacheVersion = '1.6.2'
  6. aspectjVersion = '1.6.8'
  7. apacheDsVersion = '1.5.5'
  8. jstlVersion = '1.1.2'
  9. jettyVersion = '6.1.22'
  10. hsqlVersion = '1.8.0.10'
  11. slf4jVersion = '1.6.1'
  12. logbackVersion = '0.9.29'
  13. configurations {
  14. provided
  15. compile.extendsFrom provided
  16. }
  17. dependencies {
  18. compile 'commons-logging:commons-logging:1.1.1'
  19. compile ("org.springframework:spring-core:$springVersion") {
  20. exclude(group: 'commons-logging', module: 'commons-logging')
  21. }
  22. testCompile 'junit:junit:4.7',
  23. 'org.mockito:mockito-core:1.8.3',
  24. 'org.jmock:jmock:2.5.1',
  25. 'org.jmock:jmock-junit4:2.5.1',
  26. 'org.hamcrest:hamcrest-core:1.1',
  27. 'org.hamcrest:hamcrest-library:1.1',
  28. "org.springframework:spring-test:$springVersion"
  29. }
  30. test {
  31. onlyIf {
  32. !project.hasProperty('skipTests')
  33. }
  34. jvmArgs = ['-ea', '-Xms128m', '-Xmx500m', '-XX:MaxPermSize=128m']
  35. }