Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI creates kotlin project even with explicit --java 11 --gradle-kotlin-dsl #25016

Closed
grossws opened this issue Apr 19, 2022 · 1 comment · Fixed by #25166
Closed

CLI creates kotlin project even with explicit --java 11 --gradle-kotlin-dsl #25016

grossws opened this issue Apr 19, 2022 · 1 comment · Fixed by #25166
Assignees
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/bug Something isn't working
Milestone

Comments

@grossws
Copy link
Contributor

grossws commented Apr 19, 2022

Describe the bug

quarkus create app --java 11 --gradle-kotlin-dsl creates Kotlin project instead of java one:

plugins {
    kotlin("jvm") version "1.6.10"
    kotlin("plugin.allopen") version "1.6.10"
    id("io.quarkus")
}

Expected behavior

Gradle scripts use Kotlin DSL but java project.

Actual behavior

Gradle scripts use Kotlin DSL with kotlin project.

How to Reproduce?

Run quarkus create app --java 11 --gradle-kotlin-dsl

Output of uname -a or ver

Linux unterwelt 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux

Output of java -version

OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)

GraalVM version (if different from Java)

N/A

Quarkus version or git rev

2.8.0.Final

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

N/A

Additional information

No response

@grossws grossws added the kind/bug Something isn't working label Apr 19, 2022
@quarkus-bot quarkus-bot bot added area/cli Related to quarkus cli (not maven/gradle/etc.) area/gradle Gradle area/kotlin labels Apr 19, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 19, 2022

/cc @ebullient, @evanchooly, @glefloch, @maxandersen, @quarkusio/devtools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants