spring-security-core.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. apply plugin: 'io.spring.convention.spring-module'
  2. def includeProject = project(':spring-security-crypto')
  3. configurations {
  4. included
  5. compile.extendsFrom included
  6. }
  7. dependencies {
  8. compile 'aopalliance:aopalliance'
  9. compile 'org.springframework:spring-aop'
  10. compile 'org.springframework:spring-beans'
  11. compile 'org.springframework:spring-context'
  12. compile 'org.springframework:spring-core'
  13. compile 'org.springframework:spring-expression'
  14. included includeProject
  15. optional 'com.fasterxml.jackson.core:jackson-databind'
  16. optional 'javax.annotation:jsr250-api'
  17. optional 'net.sf.ehcache:ehcache'
  18. optional 'org.aspectj:aspectjrt'
  19. optional 'org.springframework:spring-jdbc'
  20. optional 'org.springframework:spring-tx'
  21. testCompile powerMockDependencies
  22. testCompile 'commons-collections:commons-collections'
  23. testCompile 'org.skyscreamer:jsonassert'
  24. testCompile 'org.slf4j:jcl-over-slf4j'
  25. testCompile 'org.springframework:spring-test'
  26. testRuntime 'org.hsqldb:hsqldb'
  27. }
  28. classes.doLast {
  29. copy {
  30. from includeProject.sourceSets.main.output
  31. into sourceSets.main.output.classesDir
  32. }
  33. }
  34. tasks.sourcesJar.from {includeProject.sourceSets.main.java}
  35. configure(project.tasks.withType(Test)) {
  36. systemProperties['springSecurityVersion'] = version
  37. systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
  38. }