Use directory name as project name for libs (#115720)

The libs projects are configured to all begin with `elasticsearch-`.
While this is desireable for the artifacts to contain this consistent
prefix, it means the project names don't match up with their
directories. Additionally, it creates complexities for subproject naming
that must be manually adjusted.

This commit adjusts the project names for those under libs to be their
directory names. The resulting artifacts for these libs are kept the
same, all beginning with `elasticsearch-`.
This commit is contained in:
Ryan Ernst 2024-10-29 13:02:28 -07:00 committed by GitHub
parent 06eb0727c2
commit e5d5c17c99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
66 changed files with 165 additions and 136 deletions

View file

@ -18,12 +18,12 @@ tasks.named("loggerUsageCheck").configure {enabled = false }
dependencies {
api "org.apache.lucene:lucene-core:${versions.lucene}"
api project(':libs:elasticsearch-plugin-api')
api project(':libs:plugin-api')
}
tasks.named('forbiddenApisMain').configure {
// :libs:elasticsearch-logging does not depend on server
// :libs:logging does not depend on server
replaceSignatureFiles 'jdk-signatures'
}