Files
openide/platform/external-system-api
Sergei Vorobyov 971e205a4e [qodana] QD-8557 and IDEA-367680 merge to 253
[qodana] QD-8557 Working Gradle and Maven mono repo integrations

[Gradle|Sync] fix: update sync test scenario for importing Kotlin JVM toolchain

The Java home hardcoding approach isn't supported by modern Kotlin Gradle plugins and isn't supported by IDEA. Therefore, the test should be updated to use Kotlin JVM toolchain criteria instead of hardcoded paths.

### Issues
  * IDEA-367680 The module SDK isn't always specified

(cherry picked from commit 04b82a286c6966aa651f2321a90882fbf95ca85c)

[Gradle|Sync] fix: override default module SDK for Kotlin JS Gradle projects

### Issues
  * IDEA-367680 The module SDK isn't always specified

(cherry picked from commit 5f30d4c3ef21b23b12fb575457bb7678977ba1ec)

[Gradle|Sync] fix: specify project SDK also based on holder module SDKs

The project SDK should be suggested based on effecting module SDKs in first priority. It allows to resolve project SDK as specified Java toolchain for IDE projects with single Gradle linked project.

### Issues
  * IDEA-367680 The module SDK isn't always specified

(cherry picked from commit ae58cb74d91517b0d968ffd50c4af8bfa661d385)

[Gradle|Sync] fix: specify holder module SDK also based on Java toolchain version

The module SDK should be specified for the Gradle Java project, if there is one. A null module SDK means that something was wrong in Gradle sync. It is the SDK data service's responsibility to decide whether to reuse the project SDK as the module SDK. SDK data nodes should have an effective module SDK.

### Issues
  * IDEA-367680 The module SDK isn't always specified

(cherry picked from commit 68b8df86fef706e1751bf221a760007d751adf41)

[Gradle|Sync] fix: specify module SDK also based on IdeaProject.getSdkName

The module SDK should be specified for the Gradle Java project, if there is one. A null module SDK means that something was wrong in Gradle sync. It is the SDK data service's responsibility to decide whether to reuse the project SDK as the module SDK. SDK data nodes should have an effective module SDK.

### Issues
  * IDEA-367680 The module SDK isn't always specified

(cherry picked from commit 4d069d704979a4b0f4f87ca5265ecb88f218d281)


Co-authored-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com>
Co-authored-by: Jakub Andrzejewski <jakub.andrzejewski@jetbrains.com>

Merge-request: IJ-MR-179848
Merged-by: Jakub Andrzejewski <jakub.andrzejewski@jetbrains.com>

GitOrigin-RevId: 015e257d5c5b0732844336e00d1473ee994a0c03
2025-11-28 14:32:43 +00:00
..