2010-01-19 23:14:48 -05:00
|
|
|
def String[] modules = [
|
2010-01-10 18:31:23 -05:00
|
|
|
'core',
|
|
|
|
'web',
|
|
|
|
'ldap',
|
|
|
|
'acl',
|
|
|
|
'config',
|
|
|
|
'cas',
|
|
|
|
'openid',
|
2010-03-09 14:22:50 -05:00
|
|
|
'taglibs',
|
|
|
|
'aspects'
|
2010-01-10 18:31:23 -05:00
|
|
|
]
|
|
|
|
|
2010-01-19 23:14:48 -05:00
|
|
|
def String[] samples = [
|
2010-01-10 18:31:23 -05:00
|
|
|
'tutorial',
|
|
|
|
'contacts',
|
|
|
|
'openid'
|
|
|
|
]
|
|
|
|
|
2010-01-19 23:14:48 -05:00
|
|
|
def String[] docs = [
|
|
|
|
'faq',
|
|
|
|
'manual'
|
|
|
|
]
|
|
|
|
|
2010-02-08 18:57:04 -05:00
|
|
|
def String[] itest = [
|
|
|
|
'web'
|
|
|
|
]
|
|
|
|
|
2010-01-10 18:31:23 -05:00
|
|
|
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}");
|
|
|
|
}
|
|
|
|
|
2010-02-08 18:57:04 -05:00
|
|
|
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-01-19 23:14:48 -05:00
|
|
|
include docs
|
|
|
|
|
2010-02-08 18:57:04 -05:00
|
|
|
docs.each { name ->
|
2010-01-19 23:14:48 -05:00
|
|
|
p = findProject(":${name}")
|
|
|
|
p.buildFileName = "${name}.gradle"
|
|
|
|
p.projectDir = new File(settingsDir, "docs/${name}");
|
|
|
|
}
|
2010-01-10 18:31:23 -05:00
|
|
|
|
|
|
|
rootProject.children.each {project ->
|
|
|
|
assert project.projectDir.isDirectory()
|
2010-02-08 18:57:04 -05:00
|
|
|
assert project.buildFile.isFile()
|
2010-01-10 18:31:23 -05:00
|
|
|
}
|