Skip to content

Commit c813a18

Browse files
Update to Gradle 9.1.0 (#1753) (#1775)
(cherry picked from commit 804fba7) Signed-off-by: Andriy Redko <drreta@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 238c6f0 commit c813a18

11 files changed

Lines changed: 111 additions & 113 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
java: [ 21 ]
10+
java: [ 21, 25 ]
1111
os: [ubuntu-latest, windows-latest, macOS-13, macOS-latest]
1212
steps:
1313
- name: Checkout Java Client

.github/workflows/test-integration-unreleased.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- { opensearch_ref: '1.x', opensearch_jdk: 11, client_jdk: 21 }
1919
- { opensearch_ref: '2.x', opensearch_jdk: 21, client_jdk: 21 }
2020
- { opensearch_ref: 'main', opensearch_jdk: 21, client_jdk: 21 }
21+
- { opensearch_ref: 'main', opensearch_jdk: 25, client_jdk: 25 }
2122
steps:
2223
- name: Set up JDK ${{ matrix.entry.opensearch_jdk }}
2324
uses: actions/setup-java@v5

.github/workflows/test-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
- { opensearch_version: 2.18.0, java: 21 }
2626
- { opensearch_version: 2.19.2, java: 21 }
2727
- { opensearch_version: 3.0.0, java: 21 }
28+
- { opensearch_version: 3.2.0, java: 21 }
29+
- { opensearch_version: 3.2.0, java: 25 }
2830
steps:
2931
- name: Checkout Java Client
3032
uses: actions/checkout@v5

.github/workflows/test-unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
java: [ 21 ]
10+
java: [ 21, 25 ]
1111
os: [ubuntu-latest, windows-latest, macOS-latest]
1212
steps:
1313
- name: Checkout Java Client

gradle/wrapper/gradle-wrapper.jar

1.83 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
distributionBase=GRADLE_USER_HOME
3030
distributionPath=wrapper/dists
31-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
31+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
3232
zipStoreBase=GRADLE_USER_HOME
3333
zipStorePath=wrapper/dists
34-
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
34+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806

gradlew

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 93 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java-client/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ sourceSets {
9797
}
9898

9999
tasks.withType<ProcessResources> {
100-
expand(
100+
expand(mapOf(
101101
"version" to version,
102102
"git_revision" to (if (rootProject.extra.has("gitHashFull")) rootProject.extra["gitHashFull"] else "unknown")
103-
)
103+
))
104104
}
105105

106106
tasks.withType<Javadoc>().configureEach{

java-client/src/main/java/org/opensearch/client/opensearch/generic/Body.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ default String bodyAsString() {
7171
}
7272

7373
/**
74-
* Gets the body as {@link byte[]}
75-
* @return body as {@link byte[]}
74+
* Gets the body as {@code byte[]}
75+
* @return body as {@code byte[]}
7676
*/
7777
default byte[] bodyAsBytes() {
7878
try (final ByteArrayOutputStream out = new ByteArrayOutputStream()) {

0 commit comments

Comments
 (0)