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

Relax GraalVM version check for dev versions #495

Merged
merged 6 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ public static void checkVersion(String requiredVersion, String versionToCheck) {
if (versionToCheck.contains("GraalVM Runtime Environment")) {
return; // later than 22.3.1 (e.g., GraalVM for JDK 17 / GraalVM for JDK 20)
}
if (versionToCheck.startsWith("GraalVM dev") || versionToCheck.startsWith("native-image dev")) {
if ((versionToCheck.startsWith("native-image") && versionToCheck.contains("dev")) ||
versionToCheck.startsWith("GraalVM dev")) { /* For GraalVM 22.3 and earlier */
return;
}
Matcher requiredMatcher = requiredVersionPattern.matcher(requiredVersion);
Expand Down
2 changes: 2 additions & 0 deletions docs/src/docs/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ If you are using alternative build systems, see <<alternative-build-systems.adoc

=== Release 0.9.26

* Relax GraalVM version check for dev versions

==== Gradle plugin

* Fix compatibility with Gradle 8.3
Expand Down
Loading