Skip to content

Commit 7fe42d3

Browse files
Switch main/3.x to use JDK21 LTS version
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 09af518 commit 7fe42d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildSrc/src/main/java/org/opensearch/gradle/test/DistroTestPlugin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
import java.util.stream.Stream;
7878

7979
public class DistroTestPlugin implements Plugin<Project> {
80-
private static final String SYSTEM_JDK_VERSION = "23.0.2+7";
80+
private static final String SYSTEM_JDK_VERSION = "21.0.6+7";
8181
private static final String SYSTEM_JDK_VENDOR = "adoptium";
82-
private static final String GRADLE_JDK_VERSION = "23.0.2+7";
82+
private static final String GRADLE_JDK_VERSION = "21.0.6+7";
8383
private static final String GRADLE_JDK_VENDOR = "adoptium";
8484

8585
// all distributions used by distro tests. this is temporary until tests are per distribution

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ opensearch = "3.0.0"
33
lucene = "10.1.0"
44

55
bundled_jdk_vendor = "adoptium"
6-
bundled_jdk = "23.0.2+7"
6+
bundled_jdk = "21.0.6+7"
77

88
# optional dependencies
99
spatial4j = "0.7"

0 commit comments

Comments
 (0)