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

Wrong java version on the Gradle Kotlin DSL #900

Closed
tiarebalbi opened this issue May 16, 2019 · 1 comment
Closed

Wrong java version on the Gradle Kotlin DSL #900

tiarebalbi opened this issue May 16, 2019 · 1 comment

Comments

@tiarebalbi
Copy link

Hi all,

Just noticed on the current version that we have today in production a miss match on the Java version that we are selecting for the Java version option, let's say you select Java 12 the build.gradle.kts (#334) is coming with the Java_8 defined.

Screen Shot 2019-05-16 at 8 05 18 AM

Screen Shot 2019-05-16 at 8 05 26 AM

@snicoll
Copy link
Contributor

snicoll commented May 16, 2019

This is on purpose. Kotlin generates java8 bytecode so raising the vm generation to 12 has no effect. For consistency we downgrade kotlin projects to Java8.

@snicoll snicoll closed this as completed May 16, 2019
sayeedap pushed a commit to sayeedap/initializr that referenced this issue Sep 16, 2022
…-alias

[typescript] fix type aliases generation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants