1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Build refactoring.

This commit is contained in:
Luke Taylor
2010-08-04 02:04:40 +01:00
parent 6e831d6504
commit 74b66591e9
7 changed files with 228 additions and 247 deletions
+3 -11
View File
@@ -22,11 +22,6 @@ def String[] samples = [
'ldap'
]
def String[] docs = [
'faq',
'manual'
]
def String[] itest = [
'web',
'context'
@@ -58,13 +53,10 @@ itest.each { name ->
p.projectDir = new File(settingsDir, "itest/${name}");
}
include docs
include 'docs', 'docs:faq', 'docs:manual'
docs.each { name ->
p = findProject(":${name}")
p.buildFileName = "${name}.gradle"
p.projectDir = new File(settingsDir, "docs/${name}");
}
docs = findProject(':docs')
docs.buildFileName = 'docs.gradle'
rootProject.children.each {project ->
assert project.projectDir.isDirectory()