You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like #27645 affected it: splitConfigFiles() splits the files matched by gradleConfigAndTestGlob but I guess the **/vaadin-flow/**/* glob filters out my root gradlew, therefore splitConfigFiles() returns an empty array for the found gradlew files. The empty array is then passed to populateGradleReport() which reports an empty report and eventually makeCreateNodesForGradleConfigFile() takes that empty report and creates no nodes (?) - thats my guess from looking at the PR - idk how to debug it actually.
After adding the gradlew to the include property it worked:
Idk if that is a user error or if for example the plugin should check for some common locations for gradlew files, regardless of the matched files by the gradleConfigAndTestGlob glob, because it may operate on a subset due to include and exclude properties in the plugin declaration.
Current Behavior
After migrating from 19.6.4 to 20.0.12 the
@nx/gradle
plugin did not infer targets anymore.Seems like #27645 affected it:
splitConfigFiles()
splits the files matched bygradleConfigAndTestGlob
but I guess the**/vaadin-flow/**/*
glob filters out my rootgradlew
, thereforesplitConfigFiles()
returns an empty array for the found gradlew files. The empty array is then passed topopulateGradleReport()
which reports an empty report and eventuallymakeCreateNodesForGradleConfigFile()
takes that empty report and creates no nodes (?) - thats my guess from looking at the PR - idk how to debug it actually.After adding the gradlew to the include property it worked:
Expected Behavior
Idk if that is a user error or if for example the plugin should check for some common locations for gradlew files, regardless of the matched files by the
gradleConfigAndTestGlob
glob, because it may operate on a subset due to include and exclude properties in the plugin declaration.What are your thoughts on this one?
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: