Skip to content

Commit

Permalink
Fix Eclipse build.
Browse files Browse the repository at this point in the history
Relates #29300
  • Loading branch information
jpountz committed Apr 3, 2018
1 parent 3bdfc8f commit f8602b1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/x-content/src/main/eclipse-build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

// this is just shell gradle file for eclipse to have separate projects for secure-sm src and tests
apply from: '../../build.gradle'
7 changes: 7 additions & 0 deletions libs/x-content/src/test/eclipse-build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

// this is just shell gradle file for eclipse to have separate projects for secure-sm src and tests
apply from: '../../build.gradle'

dependencies {
testCompile project(':libs:x-content')
}
5 changes: 5 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if (isEclipse) {
projects << 'server-tests'
projects << 'libs:elasticsearch-core-tests'
projects << 'libs:elasticsearch-nio-tests'
projects << 'libs:x-content-tests'
projects << 'libs:secure-sm-tests'
projects << 'libs:grok-tests'
}
Expand All @@ -101,6 +102,10 @@ if (isEclipse) {
project(":libs:elasticsearch-nio").buildFileName = 'eclipse-build.gradle'
project(":libs:elasticsearch-nio-tests").projectDir = new File(rootProject.projectDir, 'libs/elasticsearch-nio/src/test')
project(":libs:elasticsearch-nio-tests").buildFileName = 'eclipse-build.gradle'
project(":libs:x-content").projectDir = new File(rootProject.projectDir, 'libs/x-content/src/main')
project(":libs:x-content").buildFileName = 'eclipse-build.gradle'
project(":libs:x-content-tests").projectDir = new File(rootProject.projectDir, 'libs/x-content/src/test')
project(":libs:x-content-tests").buildFileName = 'eclipse-build.gradle'
project(":libs:secure-sm").projectDir = new File(rootProject.projectDir, 'libs/secure-sm/src/main')
project(":libs:secure-sm").buildFileName = 'eclipse-build.gradle'
project(":libs:secure-sm-tests").projectDir = new File(rootProject.projectDir, 'libs/secure-sm/src/test')
Expand Down

0 comments on commit f8602b1

Please sign in to comment.