-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Gradle build endpoint does not work properly with Gradle Kotlin DSL #943
Comments
There are other problems potentially with this approach that we overlooked:
The side effects you are describing are weird so we'll have to look to them. @AlexCzar can you share why you're using the option to start a project with only a build file? Nothing wrong with that, just curious. |
@snicoll Sure, I was just trying things out and that seemed the most logical option considering my usual workflow. Here's why: That said, archive also has similar problems (see attached screenshots), except file name is now correct. |
In IntelliJ IDEA, when I select Kotlin + Gradle config (not Gradle project) the generated config is broken since a
build.gradle
file is generated with a Gradle Kotlin DSL content. The name of the file should bebuild.gradle.kts
like with Gradle project generation.Also the content seems incorrect in some parts like
tasks.withType < KotlinCompile >
instead oftasks.withType<KotlinCompile>
and various other glitches demonstrated in this video https://youtu.be/UVZ4wGnnzNQ from the original reporter @AlexCzar.The text was updated successfully, but these errors were encountered: