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+)(?:\\..*)?");