Skip to content

Commit f8602b1

Browse files
committed
Fix Eclipse build.
Relates #29300
1 parent 3bdfc8f commit f8602b1

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
// this is just shell gradle file for eclipse to have separate projects for secure-sm src and tests
3+
apply from: '../../build.gradle'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
// this is just shell gradle file for eclipse to have separate projects for secure-sm src and tests
3+
apply from: '../../build.gradle'
4+
5+
dependencies {
6+
testCompile project(':libs:x-content')
7+
}

settings.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ if (isEclipse) {
8080
projects << 'server-tests'
8181
projects << 'libs:elasticsearch-core-tests'
8282
projects << 'libs:elasticsearch-nio-tests'
83+
projects << 'libs:x-content-tests'
8384
projects << 'libs:secure-sm-tests'
8485
projects << 'libs:grok-tests'
8586
}
@@ -101,6 +102,10 @@ if (isEclipse) {
101102
project(":libs:elasticsearch-nio").buildFileName = 'eclipse-build.gradle'
102103
project(":libs:elasticsearch-nio-tests").projectDir = new File(rootProject.projectDir, 'libs/elasticsearch-nio/src/test')
103104
project(":libs:elasticsearch-nio-tests").buildFileName = 'eclipse-build.gradle'
105+
project(":libs:x-content").projectDir = new File(rootProject.projectDir, 'libs/x-content/src/main')
106+
project(":libs:x-content").buildFileName = 'eclipse-build.gradle'
107+
project(":libs:x-content-tests").projectDir = new File(rootProject.projectDir, 'libs/x-content/src/test')
108+
project(":libs:x-content-tests").buildFileName = 'eclipse-build.gradle'
104109
project(":libs:secure-sm").projectDir = new File(rootProject.projectDir, 'libs/secure-sm/src/main')
105110
project(":libs:secure-sm").buildFileName = 'eclipse-build.gradle'
106111
project(":libs:secure-sm-tests").projectDir = new File(rootProject.projectDir, 'libs/secure-sm/src/test')

0 commit comments

Comments
 (0)