spring-security/settings.gradle

101 lines
1.7 KiB
Groovy
Raw Normal View History

def String[] modules = [
2015-03-23 12:14:26 -04:00
'core',
'data',
'remoting',
'web',
'ldap',
'acl',
'config',
'cas',
'openid',
'taglibs',
'aspects',
'crypto',
'messaging',
'test'
]
def String[] samples = [
2015-03-23 12:14:26 -04:00
'tutorial-xml',
'contacts-xml',
'chat-jc',
'openid-xml',
'aspectj-xml',
'aspectj-jc',
'data-jc',
'gae-xml',
'dms-xml',
'preauth-xml',
'cas/server',
'cas/sample-xml',
'ldap-xml',
'jaas-xml',
'servletapi-xml',
'concurrency-jc',
'form-jc',
'helloworld-jc',
'helloworld-xml',
'hellomvc-jc',
'hellojs-jc',
'insecure',
'insecuremvc',
'inmemory-jc',
'jdbc-jc',
'ldap-jc',
'messages-jc',
'openid-jc',
'preauth-jc',
'rememberme-jc',
'x509-jc'
]
def String[] itest = [
2015-03-23 12:14:26 -04:00
'web',
'context'
]
include modules
modules.each {name ->
2015-03-23 12:14:26 -04:00
def p = findProject(":${name}")
p.name = "spring-security-${name}"
p.buildFileName = "${name}.gradle"
}
include samples
samples.each {name ->
2015-03-23 12:14:26 -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()) {
def buildFile = fullName.replaceFirst("-xml","")
p.buildFileName = "${buildFile}.gradle"
}
}
include itest
itest.each { name ->
2015-03-23 12:14:26 -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 ->
2015-03-23 12:14:26 -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'