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)
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 aquarkus 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?
quarkus create cli --name="quarkus-cli-demo" --kotlin --gradle-kotlin-dsl --wrapper
co code-with-quarkus
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
orver
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
orgradlew --version
)Gradle 8.5
Additional information
No response