javaprojects.gradle 999 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. springVersion = '3.0.1.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. configurations {
  12. provided
  13. compile.extendsFrom provided
  14. }
  15. dependencies {
  16. compile 'commons-logging:commons-logging:1.1.1'
  17. compile ("org.springframework:spring-core:$springVersion") {
  18. exclude(group: 'commons-logging', module: 'commons-logging')
  19. }
  20. testCompile 'junit:junit:4.7',
  21. 'org.mockito:mockito-core:1.8.3',
  22. 'org.jmock:jmock:2.5.1',
  23. 'org.jmock:jmock-junit4:2.5.1',
  24. 'org.hamcrest:hamcrest-core:1.1',
  25. 'org.hamcrest:hamcrest-library:1.1',
  26. "org.springframework:spring-test:$springVersion"
  27. }
  28. test {
  29. onlyIf {
  30. !project.hasProperty('skipTests')
  31. }
  32. jvmArgs = ['-ea', '-Xms128m', '-Xmx500m', '-XX:MaxPermSize=128m']
  33. }