spring-security-core.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 'org.springframework:spring-aop'
  9. compile 'org.springframework:spring-beans'
  10. compile 'org.springframework:spring-context'
  11. compile 'org.springframework:spring-core'
  12. compile 'org.springframework:spring-expression'
  13. included includeProject
  14. optional 'com.fasterxml.jackson.core:jackson-databind'
  15. optional 'io.projectreactor:reactor-core'
  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 'io.projectreactor:reactor-test'
  24. testCompile 'org.skyscreamer:jsonassert'
  25. testCompile 'org.slf4j:jcl-over-slf4j'
  26. testCompile 'org.springframework:spring-test'
  27. testRuntime 'org.hsqldb:hsqldb'
  28. }
  29. classes.doLast {
  30. copy {
  31. from includeProject.sourceSets.main.output
  32. into sourceSets.main.java.outputDir
  33. }
  34. }
  35. tasks.sourcesJar.from {includeProject.sourceSets.main.java}
  36. configure(project.tasks.withType(Test)) {
  37. systemProperties['springSecurityVersion'] = version
  38. systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
  39. }