2010-01-19 23:14:48 -05:00
|
|
|
def String[] modules = [
|
2010-01-10 18:31:23 -05:00
|
|
|
'core',
|
2011-05-14 06:57:30 -04:00
|
|
|
'remoting',
|
2010-01-10 18:31:23 -05:00
|
|
|
'web',
|
|
|
|
'ldap',
|
|
|
|
'acl',
|
|
|
|
'config',
|
|
|
|
'cas',
|
|
|
|
'openid',
|
2010-03-09 14:22:50 -05:00
|
|
|
'taglibs',
|
2011-06-09 19:01:25 -04: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',
|
2011-05-15 22:21:45 -04:00
|
|
|
'cas/server',
|
|
|
|
'cas/sample',
|
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 ->
|
2012-06-29 13:59:22 -04:00
|
|
|
def p = findProject(":${name}")
|
2010-01-10 18:31:23 -05:00
|
|
|
p.name = "spring-security-${name}"
|
|
|
|
p.buildFileName = "${name}.gradle"
|
|
|
|
}
|
|
|
|
|
|
|
|
include samples
|
|
|
|
|
|
|
|
samples.each {name ->
|
2012-06-29 13:59:22 -04:00
|
|
|
def p = findProject(":${name}")
|
2011-05-15 22:21:45 -04:00
|
|
|
def fullName = name.replaceAll('/','')
|
|
|
|
p.name = "spring-security-samples-${fullName}"
|
|
|
|
p.buildFileName = "${fullName}.gradle"
|
2010-01-10 18:31:23 -05:00
|
|
|
p.projectDir = new File(settingsDir, "samples/${name}");
|
|
|
|
}
|
|
|
|
|
2010-02-08 18:57:04 -05:00
|
|
|
include itest
|
|
|
|
|
|
|
|
itest.each { name ->
|
2012-06-29 13:59:22 -04:00
|
|
|
def p = findProject(":${name}")
|
2010-02-08 18:57:04 -05:00
|
|
|
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
|
|
|
|
2012-06-29 13:59:22 -04:00
|
|
|
def docs = findProject(':docs')
|
2010-08-03 21:04:40 -04:00
|
|
|
docs.buildFileName = 'docs.gradle'
|
2010-01-10 18:31:23 -05:00
|
|
|
|
2012-08-08 15:16:37 -04:00
|
|
|
rootProject.name = 'spring-security'
|
|
|
|
|
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
|
|
|
}
|