Skip to content

Commit cb56bf4

Browse files
committed
Fixup build after opening x-pack
1 parent cf607e7 commit cb56bf4

22 files changed

+3
-1363
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ addSubProjects('', new File(rootProject.projectDir, 'libs'))
7272
addSubProjects('', new File(rootProject.projectDir, 'modules'))
7373
addSubProjects('', new File(rootProject.projectDir, 'plugins'))
7474
addSubProjects('', new File(rootProject.projectDir, 'qa'))
75+
addSubProjects('', new File(rootProject.projectDir, 'x-pack'))
7576

7677
boolean isEclipse = System.getProperty("eclipse.launcher") != null || gradle.startParameter.taskNames.contains('eclipse') || gradle.startParameter.taskNames.contains('cleanEclipse')
7778
if (isEclipse) {

x-pack/.ci/java-versions.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

x-pack/.ci/matrix-build-javas.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

x-pack/.ci/matrix-java-exclusions.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

x-pack/.ci/matrix-runtime-javas.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

x-pack/.dir-locals.el

Lines changed: 0 additions & 88 deletions
This file was deleted.

x-pack/.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

x-pack/.gitignore

Lines changed: 0 additions & 54 deletions
This file was deleted.

x-pack/.projectile

Lines changed: 0 additions & 8 deletions
This file was deleted.

x-pack/build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ import org.elasticsearch.gradle.plugin.PluginBuildPlugin
33
import org.elasticsearch.gradle.Version
44
import org.elasticsearch.gradle.precommit.LicenseHeadersTask
55

6-
if (project.projectDir.name != 'x-pack-elasticsearch') {
7-
throw new GradleException('You must checkout x-pack-elasticsearch in the following directory: <path to Elasticsearch checkout>/../elasticsearch-extra/x-pack-elasticsearch')
8-
}
9-
10-
task wrapper(type: Wrapper)
11-
126
Project xpackRootProject = project
137

148
subprojects {
@@ -78,9 +72,7 @@ subprojects {
7872
bwcVersions.snapshotProjectNames.each { snapshotName ->
7973
Version snapshot = bwcVersions.getSnapshotForProject(snapshotName)
8074
if (snapshot != null && snapshot.onOrAfter("6.3.0")) {
81-
String snapshotProject = ":x-pack-elasticsearch:plugin:bwc:${snapshotName}"
75+
String snapshotProject = ":x-pack:plugin:bwc:${snapshotName}"
8276
project(snapshotProject).ext.bwcVersion = snapshot
8377
ext.projectSubstitutions["org.elasticsearch.plugin:x-pack:${snapshot}"] = snapshotProject
84-
}
85-
}
8678
}

0 commit comments

Comments
 (0)