-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Closed
Copy link
Labels
area/cliRelated to quarkus cli (not maven/gradle/etc.)Related to quarkus cli (not maven/gradle/etc.)area/gradleGradleGradlearea/kotlinkind/bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
When creating a new Quarkus app using the CLI with options for latest LTS stream 3.20 and Gradle as build tool, the newly created app does not build.
The CLI selects Gradle 9.0.0, which is not supported in Quarkus 3.20.
Expected behavior
The CLI should select a version of the build tool, that is supported by the stream supplied, or should provide the option to override the build tool version.
Actual behavior
CLI creates app with Quarkus version 3.20.2.2 and Gradle wrapper for Gradle 9.0.0.
This combination does not build:
$ ./gradlew build
Downloading https://services.gradle.org/distributions/gradle-9.0.0-bin.zip
............10%.............20%.............30%.............40%.............50%............60%.............70%.............80%.............90%.............100%
Welcome to Gradle 9.0.0!
Here are the highlights of this release:
- Configuration Cache is the recommended execution mode
- Gradle requires JVM 17 or higher to run
- Build scripts use Kotlin 2.2 and Groovy 4.0
- Improved Kotlin DSL script compilation avoidance
For more details see https://docs.gradle.org/9.0.0/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
[Incubating] Problems report is available at: file:///C:/Udvikler/Projects/tmp/qcli/code-with-quarkus/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'code-with-quarkus'.
> Extending a detachedConfiguration is not allowed
configuration ':detachedConfiguration1' cannot extend configuration ':compileClasspath'
How to Reproduce?
quarkus create app -S 3.20 --gradle
cd code-with-quarkus/
./gradlew build
Output of uname -a
or ver
No response
Output of java -version
openjdk version "21.0.8" 2025-07-15 LTS
Quarkus version or git rev
3.20.2.2
Build tool (ie. output of mvnw --version
or gradlew --version
)
Gradle 9.0.0 (328772c6bae126949610a8beb59cb227ee580241)
Additional information
No response
Metadata
Metadata
Assignees
Labels
area/cliRelated to quarkus cli (not maven/gradle/etc.)Related to quarkus cli (not maven/gradle/etc.)area/gradleGradleGradlearea/kotlinkind/bugSomething isn't workingSomething isn't working
Type
Projects
Status
3.27.0