spring-security/settings.gradle

67 lines
1.1 KiB
Groovy
Raw Normal View History

def String[] modules = [
'core',
'web',
'ldap',
'acl',
'config',
'cas',
'openid',
'taglibs',
'aspects',
'crypto'
]
def String[] samples = [
'tutorial',
'contacts',
'openid',
2010-07-06 18:52:11 -04:00
'aspectj',
'gae',
'dms',
'preauth',
'cas',
'ldap',
'jaas'
]
def String[] itest = [
2010-03-11 20:40:27 -05:00
'web',
'context'
]
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}");
}
include itest
itest.each { name ->
p = findProject(":${name}")
p.name = "itest-${name}"
p.buildFileName = "itest-${name}.gradle"
p.projectDir = new File(settingsDir, "itest/${name}");
}
2010-08-03 21:04:40 -04:00
include 'docs', 'docs:faq', 'docs:manual'
2010-08-03 21:04:40 -04:00
docs = findProject(':docs')
docs.buildFileName = 'docs.gradle'
rootProject.children.each {project ->
assert project.projectDir.isDirectory()
assert project.buildFile.isFile()
}