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

Add .java-version file #193

Open
ccjernigan opened this issue May 23, 2023 · 0 comments
Open

Add .java-version file #193

ccjernigan opened this issue May 23, 2023 · 0 comments

Comments

@ccjernigan
Copy link
Contributor

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

The Java version used for builds is spread across several files, including GitHub Actions workflows and Gradle scripts.

Describe the solution you'd like

Add a .java-version file and remove the version in the GitHub Actions scripts. This provides a single version for all the actions scripts.

Then modify the check properties Gradle task to ensure .java-version is in sync with the version declared in the Gradle scripts.

After this change, java version will only be declared in two places and it will be self-checking on CI to confirm the two versions are in sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant