Skip to content

Use JDK 11 or 17 for gradle check #2644

Closed
@dblock

Description

Is your feature request related to a problem? Please describe.

In #2166 we've moved gradle check into this repo. The process is using JDK 14.

Describe the solution you'd like
Use JDK 11 for 1.x branches, and JDK 17 for 2.x and main.

Additional context
Ideally the job would pickup the Java version from a config file. But in https://github.com/opensearch-project/OpenSearch/blob/main/.ci/java-versions.properties we say we use 11, because we build 2.0 with 11. We do want to do gradle checks with 17 though I believe because that's the default JDK we ship with (and we say that in opensearch-project/project-website#670).

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions