include 'test-testng' include 'jarjar' include 'elasticsearch' include 'test-integration' include 'benchmark-micro' include 'plugins-cloud-aws' include 'plugins-hadoop' include 'plugins-analysis-icu' include 'plugins-mapper-attachments' include 'plugins-lang-groovy' include 'plugins-lang-javascript' include 'plugins-lang-python' include 'plugins-transport-memcached' include 'plugins-transport-thrift' include 'plugins-transport-wares' include 'plugins-river-twitter' include 'plugins-river-wikipedia' include 'plugins-river-rabbitmq' include 'plugins-river-couchdb' 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") } }