Skip to content

Conversation

vvvlasov
Copy link

@vvvlasov vvvlasov commented Apr 8, 2024

Turns out gradle tasks --all only returns tasks for sub-projects and default tasks for multi-project setup. In order to get autocompletion for root project tasks this has to be concatenated with gradle tasks which returns the root project tasks but no sub-project tasks. This is what I see in my repo

vvlasov@mac monorepo-demo % gradle --console=plain tasks | grep integration
integrationTest - Runs integration tests.
vvlasov@mac monorepo-demo % gradle --console=plain tasks --all | grep integration
project-1:integrationTest - Runs integration tests.
project-2:integrationTest - Runs integration tests.
project-3:integrationTest - Runs integration tests.

@vvvlasov vvvlasov changed the title Concatenate output of tasks for sub-projects using --all and root project tasks Concatenate output of tasks for sub-projects and root project tasks Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant