-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issues with Gradle Kotlin DSL #33
Comments
Please try adding the option |
Same issue here. Didn't run into it until I enabled this extension, and changing Kotlin › Compiler › Jvm: Target from "default" to 1.8 for both User and Workspace as mentioned above still gives red error lines in the gradle.build.kts file. |
Same issue... |
@ptrckdev No, it's not just WSL. I have the same issue. I'm on Fedora 38 but Linux shouldn't be the issue. I think it's just that the plugin isn't designed to work with Kotlin DSL files. I was really hoping it would work but at the moment, that doesn't seem possible. In my opinion, Kotlin DSL support is even more useful than Kotlin project support since Gradle now prefers Kotlin DSL over Groovy DSL. For the time being, I think I'll just use IntelliJ IDEA for my Java/Kotlin work and use VSCode for the other stuff. |
Thanks for creating this extension!
Describe the bug
I want to use Kotlin DSL to configure Gradle build for a project which uses Java. However, the extension produces a lot of errors.
To Reproduce
Here is my
build.gradle.kts
file:Here are the errors:
Extension version
0.2.11
The text was updated successfully, but these errors were encountered: