-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Try fixing mutedTest.yml file not found #125763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Avoid eager task creation introduced lately that seems to trigger some wrong behaviour here. Also use newer api for resolving root project
|
Pinging @elastic/es-delivery (Team:Delivery) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've have one question about the recommended way of getting root project directory.
Other than that LGTM.
| project.getRootProject().getPlugins().apply(GlobalBuildInfoPlugin.class); | ||
| var buildParams = loadBuildParams(project).get(); | ||
|
|
||
| File settingsRoot = project.getLayout().getSettingsDirectory().getAsFile(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is getSettingsDirectory() now a recommended way to get a project root dir?
Could project.getRootProject().getRootDir() be used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. In general accessing other projects from a project should be avoided. Gradle is more forgiving for rootProject but still not ideal.
💔 Backport failed
You can use sqren/backport to manually backport by running |
Avoid eager task creation introduced lately that seems to trigger some wrong behaviour here.
Also use newer api for resolving root project