quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.8k stars 2.68k forks source link

Quarkus CLI doesn't honor --java=21 for gradle projects #37047

Closed pablomxnl closed 12 months ago

pablomxnl commented 1 year ago

Describe the bug

The Quarkus CLI does not honor the argument --java=21 for gradle projects. --java=17 works, but 21 gets created to use java 11.

quarkus create app org.acme:myproject \ --extension='resteasy-reactive' --java=21 --gradle-kotlin-dsl --verbose

quarkus create app org.acme:myproject \ --extension='resteasy-reactive' --java=21 --gradle --verbose

For the previous two commands the project gets created, but inspecting the file build.gradle or build.gradle.kts is still using java 11.

If --java=17 is specified then it works as expected

Expected behavior

starter project gradle file is configured to use java 21

Actual behavior

starter project gradle file is configured to use java 11

How to Reproduce?

Reproducer:

Steps to reproduce Run the following commands

  1. quarkus create app org.acme:myproject --extension='resteasy-reactive' --java=21 --gradle-kotlin-dsl --verbose output:
    
    [DEBUG] Creating a new project with initial parameters: CreateApp{gav=TargetGAVGroup [groupId=org.acme, artifactId=code-with-quarkus, version=1.0.0-SNAPSHOT, gav=org.acme:myproject], quarkusVersion=TargetQuarkusVersionGroup{stream=null, platformBom=null}, targetBuildTool=TargetBuildToolGroup [gradle=false, gradleKotlinDsl=true, jbang=false, maven=false], targetLanguage=TargetLanguageGroup [java=21, kotlin=false, scala=false, sourceType=null], codeGeneration=CodeGenerationGroup [includeCode=true, includeWrapper=true, includeDockerfiles=true, packageName=null], extensions=[resteasy-reactive], name=null, description=null, project=BaseCreateCommand [outputPath=null, registryClient=RegistryClientMixin [useRegistryClient=true], projectDirName=null, projectRootPath=null, targetDirectory=null, values={}], data={}, properties={}}
    [DEBUG] Creating an app using the following settings: {project.artifact-id=myproject, project.extensions=[resteasy-reactive], codegen.no-buildtool-wrapper=false, data={}, codegen.no-dockerfiles=false, project.group-id=org.acme, project.app-config={}, codegen.no-code=false, project.version=1.0.0-SNAPSHOT, project.java-version=21}
    [DEBUG] Resolving Quarkus extension catalog for TargetQuarkusVersionGroup{stream=null, platformBom=null}
    [DEBUG] Resolved registry descriptor io.quarkus.registry:quarkus-registry-descriptor:json:1.0-SNAPSHOT from registry.quarkus.io
    [DEBUG] Resolving platform catalog io.quarkus.registry:quarkus-platforms:json:1.0-SNAPSHOT
    Looking for the newly published extensions in registry.quarkus.io
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-qpid-jms-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cassandra-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-amazon-services-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cxf-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-camel-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-debezium-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-blaze-persistence-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-google-cloud-services-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-operator-sdk-bom-quarkus-platform-descriptor:json:3.5.1:3.5.1
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-optaplanner-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-qpid-jms-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cassandra-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-amazon-services-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cxf-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-camel-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-debezium-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-blaze-persistence-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-google-cloud-services-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-operator-sdk-bom-quarkus-platform-descriptor:json:3.4.3:3.4.3
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-optaplanner-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-qpid-jms-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cassandra-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-amazon-services-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cxf-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-camel-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-debezium-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-blaze-persistence-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-google-cloud-services-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-operator-sdk-bom-quarkus-platform-descriptor:json:3.2.8.Final:3.2.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-drools-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-optaplanner-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-kogito-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-qpid-jms-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cassandra-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-amazon-services-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-camel-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-hazelcast-client-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-debezium-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-blaze-persistence-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-google-cloud-services-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-operator-sdk-bom-quarkus-platform-descriptor:json:2.16.12.Final:2.16.12.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-optaplanner-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-kogito-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-qpid-jms-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-cassandra-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-amazon-services-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-camel-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-hazelcast-client-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-debezium-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-blaze-persistence-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving platform extension catalog io.quarkus.platform:quarkus-google-cloud-services-bom-quarkus-platform-descriptor:json:2.13.8.Final:2.13.8.Final
    [DEBUG] Resolving non-platform extension catalog io.quarkus.registry:quarkus-non-platform-extensions:json:3.5.1:1.0-SNAPSHOT
    [DEBUG] Resolving non-platform extension catalog io.quarkus.registry:quarkus-non-platform-extensions:json:3.4.3:1.0-SNAPSHOT
    [DEBUG] Resolving non-platform extension catalog io.quarkus.registry:quarkus-non-platform-extensions:json:3.2.8.Final:1.0-SNAPSHOT
    [DEBUG] Resolving non-platform extension catalog io.quarkus.registry:quarkus-non-platform-extensions:json:2.16.12.Final:1.0-SNAPSHOT
    [DEBUG] Resolving non-platform extension catalog io.quarkus.registry:quarkus-non-platform-extensions:json:2.13.8.Final:1.0-SNAPSHOT
    -----------
    selected extensions: 
    - io.quarkus:quarkus-resteasy-reactive

[DEBUG] processed shared-data: %s{test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] file strategies: [gradlew->executable, .gitignore->append, .java->smart-package, .scala->smart-package, README.adoc->forbidden, readme.md->forbidden, src/main/resources/META-INF/resources/index.html->content-merge, ->fail-on-duplicate, src/test/resources/application.properties->forbidden, pom.xml->smart-pom-merge, README.md->append, src/main/resources/application.properties->forbidden, src/test/resources/application.yml->smart-config-merge, readme.adoc->forbidden, src/main/resources/application.yml->smart-config-merge, .kt->smart-package] [DEBUG] processing codestart 'java'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026727}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, version=21, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing codestart 'gradle-kotlin-dsl'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026730}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing dir: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] found sourceName file: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/buildtool/gradle-kotlin-dsl/base/settings.tpl.qute.gradle.kts [DEBUG] found sourceName file: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/buildtool/gradle-kotlin-dsl/base/..gitignore [DEBUG] found sourceName file: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] ignoring file (but creating directory): /codestarts/quarkus/buildtool/gradle-kotlin-dsl/base/build-layout.include.qute [DEBUG] found sourceName file: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/buildtool/gradle-kotlin-dsl/base/gradle.tpl.qute.properties [DEBUG] processing dir: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] found sourceName file: /codestarts/quarkus/buildtool/gradle-kotlin-dsl [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/buildtool/gradle-kotlin-dsl/java/build.tpl.qute.gradle.kts [DEBUG] processing codestart 'quarkus'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026759}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing dir: /codestarts/quarkus/project/quarkus [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] ignoring file (but creating directory): /codestarts/quarkus/project/quarkus/base/index-entry.include.qute [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/project/quarkus/base/..gitignore [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/project/quarkus/base/README.tpl.qute.md [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] ignoring file (but creating directory): /codestarts/quarkus/project/quarkus/base/readme-header.include.qute [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/project/quarkus/base/src/main/resources/application.yml [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/project/quarkus/base/src/main/resources/META-INF/resources/index.tpl.qute.html [DEBUG] processing dir: /codestarts/quarkus/project/quarkus [DEBUG] found sourceName file: /codestarts/quarkus/project/quarkus [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.IgnoreCodestartFileReader [DEBUG] ignoring file (but creating directory): /codestarts/quarkus/project/quarkus/java/src/main/java/.gitkeep [DEBUG] processing codestart 'config-properties'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026782}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing codestart 'dockerfiles'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026783}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, dockerfile={native={from=registry.access.redhat.com/ubi8/ubi-minimal:8.8}, native-micro={from=quay.io/quarkus/quarkus-micro-image:2.0}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing dir: /codestarts/quarkus/tooling/dockerfiles [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] ignoring file (but creating directory): /codestarts/quarkus/tooling/dockerfiles/base/Dockerfile-layout.include.qute [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/dockerfiles/base/.dockerignore.tpl.qute [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/dockerfiles/base/src/main/docker/Dockerfile.tpl.qute.jvm [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/dockerfiles/base/src/main/docker/Dockerfile.tpl.qute.native [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/dockerfiles/base/src/main/docker/Dockerfile.tpl.qute.native-micro [DEBUG] found sourceName file: /codestarts/quarkus/tooling/dockerfiles [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/dockerfiles/base/src/main/docker/Dockerfile.tpl.qute.legacy-jar [DEBUG] processing codestart 'gradle-wrapper'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026795}, scala={version=2.13.8}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], gradle={version=8.4}, app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing dir: /codestarts/quarkus/tooling/gradle-wrapper [DEBUG] found sourceName file: /codestarts/quarkus/tooling/gradle-wrapper [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/gradle-wrapper/base/gradlew [DEBUG] found sourceName file: /codestarts/quarkus/tooling/gradle-wrapper [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] copy static file: /codestarts/quarkus/tooling/gradle-wrapper/base/gradlew.bat -> /tmp/myproject/gradlew.bat [DEBUG] found sourceName file: /codestarts/quarkus/tooling/gradle-wrapper [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.CodestartFileReader$DefaultCodestartFileReader [DEBUG] copy static file: /codestarts/quarkus/tooling/gradle-wrapper/base/gradle/wrapper/gradle-wrapper.jar -> /tmp/myproject/gradle/wrapper/gradle-wrapper.jar [DEBUG] found sourceName file: /codestarts/quarkus/tooling/gradle-wrapper [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/tooling/gradle-wrapper/base/gradle/wrapper/gradle-wrapper.tpl.qute.properties [DEBUG] processing codestart 'resteasy-reactive-codestart'... [DEBUG] codestart data: {test-dependencies=[io.rest-assured:rest-assured], maven-surefire-plugin={version=3.1.2}, gen-info={time=1699889026799}, scala={version=2.13.8}, resource={path=/hello, response=Hello from RESTEasy Reactive, class-name=GreetingResource}, quarkus={maven-plugin={artifact-id=quarkus-maven-plugin, group-id=io.quarkus.platform, version=3.5.1}, gradle-plugin={id=io.quarkus, version=3.5.1}, version=3.5.1, platform={artifact-id=quarkus-bom, group-id=io.quarkus.platform, version=3.5.1}}, kotlin={version=1.9.10}, project={artifact-id=myproject, group-id=org.acme, version=1.0.0-SNAPSHOT, package-name=org.acme}, description=Easily start your Reactive RESTful Web Services, language={dir={code=src/main/java}}, buildtool={cli=./gradlew, build-dir=build, guide-native=https://quarkus.io/guides/gradle-tooling#building-a-native-executable, cmd={package=build, dev=quarkusDev, package-legacy-jar=build -Dquarkus.package.type=legacy-jar, package-native=build -Dquarkus.package.type=native, package-uber-jar=build -Dquarkus.package.type=uber-jar, build-ci=build, package-native-container=build -Dquarkus.package.type=native -Dquarkus.native.container-build=true}, guide=https://quarkus.io/guides/gradle-tooling}, readme={include-default-content=true}, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, dependencies=[io.quarkus:quarkus-resteasy-reactive, io.quarkus:quarkus-arc], app-config={}, input={selected-extensions=[{name=RESTEasy Reactive, description=A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it., guide=https://quarkus.io/guides/resteasy-reactive}], base-codestart={project=quarkus, language=java, buildtool=gradle-kotlin-dsl, config=config-properties}, base-codestarts=[java, gradle-kotlin-dsl, quarkus, config-properties], extra-codestarts=[dockerfiles, gradle-wrapper, resteasy-reactive-codestart], selected-extensions-ga=[io.quarkus:quarkus-resteasy-reactive], provided-code=[{name=resteasy-reactive-codestart, description=Easily start your Reactive RESTful Web Services, title=RESTEasy Reactive, related-guide-section=https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources, tags=[extension-codestart]}]}, java={version=21}, scala-maven-plugin={version=4.8.1}, config={file-name=application.properties, guide=https://quarkus.io/guides/config}, boms=[io.quarkus.platform:quarkus-bom:3.5.1], maven-compiler-plugin={version=3.11.0}} [DEBUG] processing dir: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] found sourceName file: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/base/README.tpl.qute.md [DEBUG] found sourceName file: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/base/src/main/resources/META-INF/resources/index.entry.qute.html [DEBUG] processing dir: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] found sourceName file: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java [DEBUG] found sourceName file: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/main/java/org/acme/{resource.class-name}.tpl.qute.java [DEBUG] found sourceName file: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart [DEBUG] using reader: io.quarkus.devtools.codestarts.core.reader.QuteCodestartFileReader [DEBUG] adding file to processing stack: /codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/test/java/org/acme/{resource.class-name}Test.tpl.qute.java [DEBUG] processing file 'settings.gradle.kts' with strategy fail-on-duplicate [DEBUG] processing file '.gitignore' with strategy append [DEBUG] processing file 'gradle.properties' with strategy fail-on-duplicate [DEBUG] processing file 'build.gradle.kts' with strategy fail-on-duplicate [DEBUG] processing file 'README.md' with strategy append [DEBUG] processing file 'src/main/resources/application.yml' with strategy smart-config-merge [DEBUG] processing file 'src/main/resources/META-INF/resources/index.html' with strategy content-merge [DEBUG] processing file '.dockerignore' with strategy fail-on-duplicate [DEBUG] processing file 'src/main/docker/Dockerfile.jvm' with strategy fail-on-duplicate [DEBUG] processing file 'src/main/docker/Dockerfile.native' with strategy fail-on-duplicate [DEBUG] processing file 'src/main/docker/Dockerfile.native-micro' with strategy fail-on-duplicate [DEBUG] processing file 'src/main/docker/Dockerfile.legacy-jar' with strategy fail-on-duplicate [DEBUG] processing file 'gradlew' with strategy executable [DEBUG] processing file 'gradle/wrapper/gradle-wrapper.properties' with strategy fail-on-duplicate [DEBUG] processing file 'src/native-test/java/org/acme/GreetingResourceIT.java' with strategy smart-package [DEBUG] processing file 'src/main/java/org/acme/GreetingResource.java' with strategy smart-package [DEBUG] processing file 'src/test/java/org/acme/GreetingResourceTest.java' with strategy smart-package

applying codestarts... πŸ“š java πŸ”¨ gradle-kotlin-dsl πŸ“¦ quarkus πŸ“ config-properties πŸ”§ dockerfiles πŸ”§ gradle-wrapper πŸš€ resteasy-reactive-codestart


[SUCCESS] βœ… quarkus project has been successfully generated in: --> /tmp/myproject

Navigate into this directory and get started: quarkus dev


2.  ```cd myproject```
4. ```grep JavaVersion build.gradle.kts```

    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11

### Output of `uname -a` or `ver`

inux mybox 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct  9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

### Output of `java -version`

openjdk version "21" 2023-09-19 OpenJDK Runtime Environment GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15) OpenJDK 64-Bit Server VM GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15, mixed mode, sharing)

### Quarkus version or git rev

3.5.1

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

Gradle 8.4 ------------------------------------------------------------  Build time:   2023-10-04 20:52:13 UTC Revision:     e9251e572c9bd1d01e503a0dfdf43aedaeecdc3f  Kotlin:       1.9.10 Groovy:       3.0.17 Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM:          21 (GraalVM Community 21+35-jvmci-23.1-b15) OS:           Linux 6.2.0-36-generic amd64

### Additional information

_No response_
quarkus-bot[bot] commented 1 year ago

/cc @ebullient (cli), @evanchooly (kotlin), @geoand (kotlin), @glefloch, @maxandersen (cli,jbang), @quarkusio/devtools (jbang)

gsmet commented 1 year ago

I was able to reproduce it, this is unexpected, I will have a look.

ia3andy commented 1 year ago

@gsmet did we add support for j21 in the codestarts? I thought we didn't have the docker images?

pablomxnl commented 1 year ago

the issue are the qute templates for build-layout for gradle have hardcoded java17 and java11

ia3andy commented 1 year ago

https://github.com/quarkusio/quarkus/issues/36709

ia3andy commented 1 year ago

the issue are the qute templates for build-layout for gradle have hardcoded java17 and java11

Because we didn't yet add support for J21 project creation (AFAIK).

gsmet commented 1 year ago

Well, we shouldn't have to as the JDK is resolved dynamically. It works for Maven but not for Gradle as it was more or less hardcoded. I'll fix it.

gsmet commented 1 year ago

PR is here: https://github.com/quarkusio/quarkus/pull/37051