mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Always use "elasticsearch" as Gradle project name (#65709)
This commit is contained in:
parent
a1b6be045c
commit
8dc71c34b4
1 changed files with 2 additions and 3 deletions
|
@ -2,8 +2,7 @@ plugins {
|
|||
id "com.gradle.enterprise" version "3.5"
|
||||
}
|
||||
|
||||
String dirName = rootProject.projectDir.name
|
||||
rootProject.name = dirName
|
||||
rootProject.name = "elasticsearch"
|
||||
|
||||
List projects = [
|
||||
'build-tools',
|
||||
|
@ -135,7 +134,7 @@ project(":test:external-modules").children.each { testProject ->
|
|||
}
|
||||
|
||||
// look for extra plugins for elasticsearch
|
||||
File extraProjects = new File(rootProject.projectDir.parentFile, "${dirName}-extra")
|
||||
File extraProjects = new File(rootProject.projectDir.parentFile, "${rootProject.projectDir.name}-extra")
|
||||
if (extraProjects.exists()) {
|
||||
for (File extraProjectDir : extraProjects.listFiles()) {
|
||||
addSubProjects('', extraProjectDir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue