From 01505b4840be56ac7f43d1ad17f2cdf5f3e73bf5 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 29 Nov 2023 11:38:26 +0100 Subject: [PATCH] Update MAX_LTS_SUPPORTED_BY_KOTLIN to 21 Kotlin 1.9.20 supports Java 21. --- .../src/main/java/io/quarkus/devtools/project/JavaVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/JavaVersion.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/JavaVersion.java index 2e53d71d8f422..be5bbee89f5d1 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/JavaVersion.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/JavaVersion.java @@ -66,7 +66,7 @@ public String toString() { public static final int DEFAULT_JAVA_VERSION = 11; // we want to maximize the compatibility of extensions with the Quarkus ecosystem so let's stick to 11 by default public static final String DEFAULT_JAVA_VERSION_FOR_EXTENSION = "11"; - public static final int MAX_LTS_SUPPORTED_BY_KOTLIN = 17; + public static final int MAX_LTS_SUPPORTED_BY_KOTLIN = 21; public static final String DETECT_JAVA_RUNTIME_VERSION = "<>"; public static final Pattern JAVA_VERSION_PATTERN = Pattern.compile("(\\d+)(?:\\..*)?");