vscode-java-debug
vscode-java-debug copied to clipboard
Loading a gradle project in VS code results in Kotlin DSL accessors in the wrong directory: `bin/main/gradle/kotlin/dsl/`
Loading a gradle project in VS code results in Kotlin DSL accessors in the wrong directory: bin/main/gradle/kotlin/dsl/
Environment
- Operating System: macOS 13.6.2
- JDK version: 17
- Visual Studio Code version: 1.86.0
- Java extension version: v0.25.15
- Java Debugger extension version: 0.56.0
Steps To Reproduce
- load an gradle 8.5 project that uses
*.gradle.ktsfiles and included builds. e.g. this project: https://github.com/jjohannes/idiomatic-gradle/ - load it with the VS code gradle extensions.
Current Result
The kotlin DSL accessors are generated into bin/main/gradle/kotlin/dsl/ instead of the normal build/generated-sources/kotlin-dsl-accessors/kotlin/gradle/kotlin/dsl/ location.
Expected Result
all the build output is in the Gradle configure build out directory ( /build by default)
Additional Informations
Using Gradle 8.5
Possibly related issues
- https://github.com/microsoft/vscode-java-debug/issues/1127
Do you install Microsoft "Gradle for Java" extension? And what's the setting for "java.gradle.buildServer.enabled"?
Do you install Microsoft "Gradle for Java" extension?
yes.
And what's the setting for "java.gradle.buildServer.enabled"?
That setting is "on"