-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/cliRelated to quarkus cli (not maven/gradle/etc.)Related to quarkus cli (not maven/gradle/etc.)area/gradleGradleGradlearea/kotlinarea/picoclienv/windowsImpacts Windows machinesImpacts Windows machineskind/bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
I tried to run a quarkus cli app with argument: '-c -w --val 1' but it fails. The app was created with kotlin and Gradle Kotlin DSL.
Even though the quarkusRun
gradle tasks exists, I get this error with a quarkus run -Dquarkus.args='-c -w --val 1'
: [ERROR] Unable to build: Unknown action for GRADLE_KOTLIN_DSL
Expected behavior
Similar behavior as ./gradlew quarkusRun -Dquarkus.args='-c -w --val 1'
Actual behavior
[ERROR] Unable to build: Unknown action for GRADLE_KOTLIN_DSL
How to Reproduce?
- Create a Quarkus CLI app (with Picocli) that uses Kotlin and Gradle with Kotlin DSL
quarkus create cli --name="quarkus-cli-demo" --kotlin --gradle-kotlin-dsl --wrapper
- Open the folder
co code-with-quarkus
- Run the app
quarkus run -Dquarkus.args='-c -w --val 1'
-> Event though the quarkusRun
gradle tasks exists, the above command fails with this error [ERROR] Unable to build: Unknown action for GRADLE_KOTLIN_DSL
Output of uname -a
or ver
NA (I'm on windows)
Output of java -version
openjdk version "21.0.2" 2024-01-16 LTS
Quarkus version or git rev
3.6.7
Build tool (ie. output of mvnw --version
or gradlew --version
)
Gradle 8.5
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/kotlinarea/picoclienv/windowsImpacts Windows machinesImpacts Windows machineskind/bugSomething isn't workingSomething isn't working