Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JDK 11 or 17 for gradle check #2644

Closed
dblock opened this issue Mar 29, 2022 · 0 comments
Closed

Use JDK 11 or 17 for gradle check #2644

dblock opened this issue Mar 29, 2022 · 0 comments
Assignees
Labels
Build Libraries & Interfaces enhancement Enhancement or improvement to existing feature or request

Comments

@dblock
Copy link
Member

dblock commented Mar 29, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Libraries & Interfaces enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

3 participants