OpenSearch/settings.gradle

24 lines
654 B
Groovy

include 'test-testng'
include 'elasticsearch'
include 'test-integration'
include 'benchmark-micro'
include 'plugins-attachments'
include 'plugins-groovy'
include 'plugins-memcached'
include 'plugins-discovery-jgroups'
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")
}
}