forked from ome/omero-ms-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
18 lines (16 loc) · 841 Bytes
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Using the same kind of multi-project set up that the Gradle guys use:
* - https://github.com/gradle/gradle/blob/master/settings.gradle
* This way avoid Gradle creating an empty 'components' project for the
* components directory and adding it to the project hierarchy---e.g.
* instead of ':components:server' we get just ':server'.
*/
rootProject.name = 'ome-smuggler'
include 'cli', 'jclient', 'kew', 'kew-artemis', 'packager', 'server', 'util'
rootProject.children.each { project ->
String fileBaseName = project.name.replaceAll("\\p{Upper}") { "-${it.toLowerCase()}" }
String projectDirName = "components/$fileBaseName"
project.projectDir = new File(settingsDir, projectDirName)
project.buildFileName = "${fileBaseName}.gradle"
assert project.projectDir.isDirectory()
assert project.buildFile.isFile()
}