Remove outdated projectsPrefix setup

This commit is contained in:
Ryan Ernst 2015-11-06 11:45:32 -08:00
parent 548430072f
commit ee691e547a
1 changed files with 4 additions and 10 deletions

View File

@ -42,18 +42,12 @@ if (isEclipse) {
projects << 'core-tests'
}
String prefix = ''
if (hasProperty('elasticsearch.projectsPrefix')) {
prefix = "${getProperty('elasticsearch.projectsPrefix')}:"
projects = projects.collect { "${prefix}${it}" }
}
include projects.toArray(new String[0])
if (isEclipse) {
project(":${prefix}core").projectDir = new File(rootProject.projectDir, 'core/src/main')
project(":${prefix}core").buildFileName = 'eclipse-build.gradle'
project(":${prefix}core-tests").projectDir = new File(rootProject.projectDir, 'core/src/test')
project(":${prefix}core-tests").buildFileName = 'eclipse-build.gradle'
project(":core").projectDir = new File(rootProject.projectDir, 'core/src/main')
project(":core").buildFileName = 'eclipse-build.gradle'
project(":core-tests").projectDir = new File(rootProject.projectDir, 'core/src/test')
project(":core-tests").buildFileName = 'eclipse-build.gradle'
}