build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. version = '3.0.0.CI-SNAPSHOT'
  2. allprojects {
  3. repositories {
  4. mavenRepo name:'localRepo', urls:'file:///Users/luke/.m2/repository'
  5. mavenCentral()
  6. }
  7. }
  8. subprojects {
  9. apply id: 'java'
  10. group = 'org.springframework.security'
  11. springVersion = '3.0.0.RELEASE'
  12. springLdapVersion = '1.3.0.RELEASE'
  13. ehcacheVersion = '1.6.2'
  14. aspectjVersion = '1.6.5'
  15. apacheDsVersion = '1.5.5'
  16. jstlVersion = '1.1.2'
  17. /* dependencyReport {
  18. renderer = new GraphvizReportRenderer()
  19. }*/
  20. configurations {
  21. provided
  22. }
  23. dependencies {
  24. compile 'commons-logging:commons-logging:1.1.1'
  25. testCompile 'junit:junit:4.7',
  26. 'org.mockito:mockito-core:1.7',
  27. 'org.jmock:jmock:2.5.1',
  28. 'org.jmock:jmock-junit4:2.5.1',
  29. 'org.hamcrest:hamcrest-core:1.1',
  30. 'org.hamcrest:hamcrest-library:1.1',
  31. "org.springframework:spring-test:$springVersion"
  32. }
  33. sourceSets {
  34. main {
  35. compileClasspath = compileClasspath + configurations.provided
  36. }
  37. test {
  38. compileClasspath = compileClasspath + configurations.provided
  39. }
  40. }
  41. test {
  42. options.fork(forkMode: ForkMode.ONCE, jvmArgs: ["-ea", '-Xms128m', '-Xmx1g', '-XX:MaxPermSize=128m', '-XX:+HeapDumpOnOutOfMemoryError'])
  43. }
  44. }