Skip to content

Commit

Permalink
core depends on crypto
Browse files Browse the repository at this point in the history
Issue gh-9767
  • Loading branch information
rwinch committed May 18, 2021
1 parent 0351883 commit 0fb7c24
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions core/spring-security-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,15 @@ import java.util.concurrent.Callable

apply plugin: 'io.spring.convention.spring-module'

def includeProject = project(':spring-security-crypto')

configurations {
included {
visible = false
transitive = false
}
compileClasspath.extendsFrom included
testCompileClasspath.extendsFrom included
testRuntimeClasspath.extendsFrom included
}

dependencies {
management platform(project(":spring-security-dependencies"))
api project(':spring-security-crypto')
api 'org.springframework:spring-aop'
api 'org.springframework:spring-beans'
api 'org.springframework:spring-context'
api 'org.springframework:spring-core'
api 'org.springframework:spring-expression'

included includeProject

optional 'com.fasterxml.jackson.core:jackson-databind'
optional 'io.projectreactor:reactor-core'
optional 'javax.annotation:jsr250-api'
Expand Down Expand Up @@ -54,12 +41,6 @@ tasks.processResources {
}
}

tasks.jar.from { includeProject.sourceSets.main.output }

project.tasks.matching { t -> t.name == "sourcesJar"}.configureEach {
from {includeProject.sourceSets.main.java }
}

configure(project.tasks.withType(Test)) {
doFirst {
systemProperties['springSecurityVersion'] = version
Expand Down

0 comments on commit 0fb7c24

Please sign in to comment.