Add crypto as an exported dependency of core in IDEA configuration.

This commit is contained in:
Luke Taylor 2011-06-14 18:31:56 +01:00
parent 2b8d4684a1
commit 361b77685d

View File

@ -5,7 +5,8 @@ def cryptoProject = project(':spring-security-crypto')
def cryptoClasses = cryptoProject.sourceSets.main.classes
dependencies {
compile 'aopalliance:aopalliance:1.0',
compile cryptoProject,
'aopalliance:aopalliance:1.0',
"net.sf.ehcache:ehcache:$ehcacheVersion",
"org.springframework:spring-aop:$springVersion",
"org.springframework:spring-beans:$springVersion",
@ -43,3 +44,10 @@ test {
systemProperties['springSecurityVersion'] = version
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)
}