microsoft / microsoft/vscode-java-debug
Loading a gradle project in VS code results in Kotlin DSL accessors in the wrong directory: `bin/main/gradle/kotlin/dsl/`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the issue by loading the linked idiomatic-gradle project with Gradle 8.5 and the VS Code Gradle extensions, then trace the project-loading path that places Kotlin DSL accessors under bin/main. Done means generated accessors and other build output remain under the Gradle build directory, such as build/generated-sources/kotlin-dsl-accessors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin, typescript, vscode
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100