Skip to content

Commit 5296c11

Browse files
authored
Rename elasticsearch-nio to nio (#31186)
This commit renames :libs:elasticsearch-nio to :libs:nio.
1 parent 94be9b4 commit 5296c11

36 files changed

+12
-13
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,8 @@ subprojects {
205205
"org.elasticsearch.gradle:build-tools:${version}": ':build-tools',
206206
"org.elasticsearch:rest-api-spec:${version}": ':rest-api-spec',
207207
"org.elasticsearch:elasticsearch:${version}": ':server',
208-
"org.elasticsearch:elasticsearch-cli:${version}": ':libs:cli',
209208
"org.elasticsearch:elasticsearch-core:${version}": ':libs:core',
210-
"org.elasticsearch:elasticsearch-nio:${version}": ':libs:elasticsearch-nio',
209+
"org.elasticsearch:elasticsearch-nio:${version}": ':libs:nio',
211210
"org.elasticsearch:elasticsearch-x-content:${version}": ':libs:x-content',
212211
"org.elasticsearch:elasticsearch-secure-sm:${version}": ':libs:secure-sm',
213212
"org.elasticsearch.client:elasticsearch-rest-client:${version}": ':client:rest',

libs/elasticsearch-nio/build.gradle renamed to libs/nio/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies {
3939
testCompile "junit:junit:${versions.junit}"
4040
testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
4141

42-
if (isEclipse == false || project.path == ":libs:elasticsearch-nio-tests") {
42+
if (isEclipse == false || project.path == ":libs:nio-tests") {
4343
testCompile("org.elasticsearch.test:framework:${version}") {
4444
exclude group: 'org.elasticsearch', module: 'elasticsearch-nio'
4545
}
@@ -49,7 +49,7 @@ dependencies {
4949
if (isEclipse) {
5050
// in eclipse the project is under a fake root, we need to change around the source sets
5151
sourceSets {
52-
if (project.path == ":libs:elasticsearch-nio") {
52+
if (project.path == ":libs:nio") {
5353
main.java.srcDirs = ['java']
5454
main.resources.srcDirs = ['resources']
5555
} else {
@@ -60,7 +60,7 @@ if (isEclipse) {
6060
}
6161

6262
forbiddenApisMain {
63-
// elasticsearch-nio does not depend on core, so only jdk signatures should be checked
63+
// nio does not depend on core, so only jdk signatures should be checked
6464
// es-all is not checked as we connect and accept sockets
6565
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
6666
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
// this is just shell gradle file for eclipse to have separate projects for elasticsearch-nio src and tests
2+
// this is just shell gradle file for eclipse to have separate projects for nio src and tests
33
apply from: '../../build.gradle'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)