mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Always use "elasticsearch" as Gradle project name (#65709)
This commit is contained in:
parent
dcff07f717
commit
49d062efb0
@ -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',
|
||||
@ -133,7 +132,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…
x
Reference in New Issue
Block a user