spring-security/settings.gradle

94 lines
1.8 KiB
Groovy
Raw Normal View History

def String[] modules = [
'core',
'remoting',
'web',
'ldap',
'acl',
'config',
'cas',
'openid',
'taglibs',
'aspects',
'crypto'
]
def String[] samples = [
2013-08-01 15:14:18 -04:00
'tutorial-xml',
'contacts-xml',
'openid-xml',
'aspectj-xml',
'gae-xml',
'dms-xml',
'preauth-xml',
'cas/server',
2013-08-01 15:14:18 -04:00
'cas/sample-xml',
'ldap-xml',
'jaas-xml',
'servletapi-xml',
'concurrency-jc',
2013-08-19 15:57:23 -04:00
'form-jc',
2013-08-01 15:14:18 -04:00
'helloworld-jc',
'hellomvc-jc',
'hellojs-jc',
'insecure',
'insecuremvc',
2013-08-01 15:14:18 -04:00
'inmemory-jc',
'jdbc-jc',
'ldap-jc',
'messages-jc',
'openid-jc',
'preauth-jc',
'rememberme-jc',
'x509-jc'
]
def String[] itest = [
2010-03-11 20:40:27 -05:00
'web',
'context'
]
include modules
modules.each {name ->
2012-06-29 13:59:22 -04:00
def p = findProject(":${name}")
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}")
def fullName = name.replaceAll('/','')
p.name = "spring-security-samples-${fullName}"
p.projectDir = new File(settingsDir, "samples/${name}");
if(!p.buildFile.exists()) {
2013-08-01 15:14:18 -04:00
def buildFile = fullName.replaceFirst("-xml","")
p.buildFileName = "${buildFile}.gradle"
}
}
include itest
itest.each { name ->
2012-06-29 13:59:22 -04:00
def p = findProject(":${name}")
p.name = "itest-${name}"
p.buildFileName = "itest-${name}.gradle"
p.projectDir = new File(settingsDir, "itest/${name}");
}
2013-10-03 22:28:55 -04:00
include 'docs', 'docs:manual', 'docs:guides'
2012-06-29 13:59:22 -04:00
def docs = findProject(':docs')
2010-08-03 21:04:40 -04:00
docs.buildFileName = 'docs.gradle'
rootProject.name = 'spring-security'
rootProject.children.each {project ->
2013-08-01 15:14:18 -04:00
//assert project.projectDir.isDirectory()
//assert project.buildFile.isFile()
}
2013-12-09 16:51:49 -05:00
include 'bom'
findProject(':bom').name = 'spring-security-bom'