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/`
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件或测试。使用 Gradle 8.5 和 VS Code Gradle 扩展加载链接的 idiomatic-gradle 项目来重现该问题,然后跟踪将 Kotlin DSL accessors 放置在 bin/main 下的项目加载路径。完成的标准是,生成的 accessors 和其他构建输出仍保留在 Gradle 构建目录下,例如 build/generated-sources/kotlin-dsl-accessors。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, kotlin, typescript, vscode
- 领域
- build-system, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100