OpenSearch/settings.gradle

21 lines
565 B
Groovy
Raw Normal View History

2010-02-08 08:30:06 -05:00
include 'test-testng'
include 'elasticsearch'
include 'test-integration'
include 'benchmark-micro'
include 'plugins-attachments'
2010-02-08 08:30:06 -05:00
rootProject.name = 'elasticsearch-root'
rootProject.children.each {project ->
String fileBaseName = project.name.replaceAll("\\p{Upper}") { "-${it.toLowerCase()}" }
fileBaseName = fileBaseName.replace('-', '/');
if (fileBaseName.startsWith("plugins")) {
project.projectDir = new File(settingsDir, "$fileBaseName")
} else {
project.projectDir = new File(settingsDir, "modules/$fileBaseName")
}
2010-02-08 08:30:06 -05:00
}