spring-security/settings.gradle
Luke Taylor b323098167 Added gradle build files for taglibs, tutorial, contacts and openid.
Changed build file names to match module names (by manipulating the project objects in the settings.gradle file).
2010-01-10 23:31:23 +00:00

39 lines
687 B
Groovy

String[] modules = [
'core',
'web',
'ldap',
'acl',
'config',
'cas',
'openid',
'taglibs'
]
String[] samples = [
'tutorial',
'contacts',
'openid'
]
include modules
modules.each {name ->
p = findProject(":${name}")
p.name = "spring-security-${name}"
p.buildFileName = "${name}.gradle"
}
include samples
samples.each {name ->
p = findProject(":${name}")
p.name = "spring-security-samples-${name}"
p.buildFileName = "${name}.gradle"
p.projectDir = new File(settingsDir, "samples/${name}");
}
rootProject.children.each {project ->
assert project.buildFile.isFile()
assert project.projectDir.isDirectory()
}