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',
|
2011-01-13 22:40:47 -05:00
|
|
|
'aspects',
|
|
|
|
'crypto'
|
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',
|
2010-03-31 11:55:02 -04:00
|
|
|
'openid',
|
2010-07-06 18:52:11 -04:00
|
|
|
'aspectj',
|
2010-07-26 21:16:39 -04:00
|
|
|
'gae',
|
|
|
|
'dms',
|
|
|
|
'preauth',
|
|
|
|
'cas',
|
2010-09-10 21:17:22 -04:00
|
|
|
'ldap',
|
|
|
|
'jaas'
|
2010-01-10 18:31:23 -05:00
|
|
|
]
|
|
|
|
|
2010-02-08 18:57:04 -05:00
|
|
|
def String[] itest = [
|
2010-03-11 20:40:27 -05:00
|
|
|
'web',
|
|
|
|
'context'
|
2010-02-08 18:57:04 -05:00
|
|
|
]
|
|
|
|
|
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-08-03 21:04:40 -04:00
|
|
|
include 'docs', 'docs:faq', 'docs:manual'
|
2010-01-19 23:14:48 -05:00
|
|
|
|
2010-08-03 21:04:40 -04:00
|
|
|
docs = findProject(':docs')
|
|
|
|
docs.buildFileName = 'docs.gradle'
|
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-07-26 21:16:39 -04:00
|
|
|
}
|