TAPI getEditableBuilds() does not return builds included by BuildSrc #24672
Labels
a:bug
has:reproducer
Indicates the issue has a confirmed reproducer
in:ide
Issues related to using Gradle with an IDE like IntelliJ, Eclipse or Android Studio
in:tooling-api
Expected Behavior
getEditableBuilds includes builds included by the buildSrc build
https://docs.gradle.org/current/javadoc/org/gradle/tooling/model/gradle/GradleBuild.html#getEditableBuilds--
Current Behavior
getEditableBuilds resturns an empty collection when called on a buildSrc project.
Context
IDEA 2023.1 tries to import all projects in a single pass. Projects included by buildSrc are missing: https://youtrack.jetbrains.com/issue/IDEA-316576/Regression-in-2023.1-Builds-included-by-buildSrc-are-no-longer-imported
Steps to Reproduce
Attaching Sample project + Sample TAPI client. Please run TAPI client (
gradlew :run
) to observe different lists of builds obtained bygetIncludedBuilds
,getEditableBuilds
or both.buildSrc-includedBuild.zip
Your Environment
Build scan URL
:
The text was updated successfully, but these errors were encountered: