From 155c8aa9059774a979b532a9fa70dd2415f332de Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Fri, 2 Sep 2022 15:00:29 +0200 Subject: [PATCH] fix: force minimum java 11 for quarkus init --- src/main/resources/init-qcli.java.qute | 1 + src/main/resources/init-qmetrics.java.qute | 1 + src/main/resources/init-qrest.java.qute | 1 + 3 files changed, 3 insertions(+) diff --git a/src/main/resources/init-qcli.java.qute b/src/main/resources/init-qcli.java.qute index 1891eb477..d15b22ab5 100644 --- a/src/main/resources/init-qcli.java.qute +++ b/src/main/resources/init-qcli.java.qute @@ -1,4 +1,5 @@ ///usr/bin/env jbang "$0" "$@" ; exit $? +//JAVA 11+ // Update the Quarkus version to what you want here or run jbang with // `-Dquarkus.version=` to override it. //DEPS io.quarkus:quarkus-bom:$\{quarkus.version:2.11.2.Final\}@pom diff --git a/src/main/resources/init-qmetrics.java.qute b/src/main/resources/init-qmetrics.java.qute index b964620c5..812a9a9d4 100644 --- a/src/main/resources/init-qmetrics.java.qute +++ b/src/main/resources/init-qmetrics.java.qute @@ -1,4 +1,5 @@ ///usr/bin/env jbang "$0" "$@" ; exit $? +//JAVA 11+ // Update the Quarkus version to what you want here or run jbang with // `-Dquarkus.version=` to override it. //DEPS io.quarkus:quarkus-bom:$\{quarkus.version:2.11.2.Final\}@pom diff --git a/src/main/resources/init-qrest.java.qute b/src/main/resources/init-qrest.java.qute index 1237a63c7..aa0cff1db 100644 --- a/src/main/resources/init-qrest.java.qute +++ b/src/main/resources/init-qrest.java.qute @@ -1,4 +1,5 @@ ///usr/bin/env jbang "$0" "$@" ; exit $? +//JAVA 11+ // Update the Quarkus version to what you want here or run jbang with // `-Dquarkus.version=` to override it. //DEPS io.quarkus:quarkus-bom:$\{quarkus.version:2.11.2.Final\}@pom