mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
Add crypto as an exported dependency of core in IDEA configuration.
This commit is contained in:
parent
2b8d4684a1
commit
361b77685d
@ -5,7 +5,8 @@ def cryptoProject = project(':spring-security-crypto')
|
|||||||
def cryptoClasses = cryptoProject.sourceSets.main.classes
|
def cryptoClasses = cryptoProject.sourceSets.main.classes
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'aopalliance:aopalliance:1.0',
|
compile cryptoProject,
|
||||||
|
'aopalliance:aopalliance:1.0',
|
||||||
"net.sf.ehcache:ehcache:$ehcacheVersion",
|
"net.sf.ehcache:ehcache:$ehcacheVersion",
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
@ -43,3 +44,10 @@ test {
|
|||||||
systemProperties['springSecurityVersion'] = version
|
systemProperties['springSecurityVersion'] = version
|
||||||
systemProperties['springVersion'] = springVersion
|
systemProperties['springVersion'] = springVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add the crypto module in the IDE
|
||||||
|
ideaModule {
|
||||||
|
def cryptoDep = new org.gradle.plugins.ide.idea.model.ModuleDependency('spring-security-crypto', 'COMPILE')
|
||||||
|
cryptoDep.exported = true
|
||||||
|
module.dependencies.add(cryptoDep)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user