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 validation task infrastructure + java/kotlin version matcher #1247

Merged
merged 6 commits into from
Mar 10, 2025

Conversation

ZacSweers
Copy link
Collaborator

This introduces a new concept of validateFoundryProject as a lifecycle task that can depend on a few common validations. The first one I'm adding here is a new one to validate that a .java_version file (if present) matches the jdk version defined in a version catalog, which we wanna support to make some other tooling more automatic like renovate and github actions.

Example of the .java_version file https://github.com/square/moshi/pull/1941/files

This introduces a new concept of `validateFoundryProject` as a lifecycle task that can depend on a few common validations. The first one I'm adding here is a new one to validate that a `.java_version` file (if present) matches the `jdk` version defined in a version catalog, which we wanna support to make some other tooling more automatic like renovate and github actions.
@ZacSweers ZacSweers changed the title Add validation task infrastructure + java version matcher Add validation task infrastructure + java/kotlin version matcher Mar 10, 2025
@ZacSweers ZacSweers added this pull request to the merge queue Mar 10, 2025
Merged via the queue into main with commit 5be37dd Mar 10, 2025
4 checks passed
@ZacSweers ZacSweers deleted the z/validateJavaVersion branch March 10, 2025 19:40
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

Successfully merging this pull request may close these issues.

2 participants