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/`

オープン
#1,435 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

ai-triaged bug
主要言語
TypeScript
スター
591
フォーク
429
平均マージ
1日 9時間
マージ済み PR(30日)
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
  1. load an gradle 8.5 project that uses *.gradle.kts files and included builds. e.g. this project: https://github.com/jjohannes/idiomatic-gradle/
  2. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイルもテストも指定されていません。リンクされた idiomatic-gradle プロジェクトを Gradle 8.5 と VS Code Gradle 拡張機能で読み込み、Kotlin DSL accessors を bin/main に配置するプロジェクト読み込みパスを追跡して問題を再現します。生成された accessors やその他のビルド出力が、たとえば build/generated-sources/kotlin-dsl-accessors のように、Gradle のビルドディレクトリ内に残ることが完了の条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, kotlin, typescript, vscode
領域
build-system, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。