← 返回命令列表

Linux command

gradle-projects 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all subprojects

gradle projects

List with wrapper

./gradlew projects

List for specific project

gradle :[subproject]:projects

说明

gradle projects displays a hierarchical list of all subprojects in a multi-project Gradle build. The output shows the root project and all its subprojects with their paths, helping navigate complex builds with multiple modules.

FAQ

What is the gradle-projects command used for?

gradle projects displays a hierarchical list of all subprojects in a multi-project Gradle build. The output shows the root project and all its subprojects with their paths, helping navigate complex builds with multiple modules.

How do I run a basic gradle-projects example?

Run `gradle projects` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more gradle-projects examples?

This page includes 3 examples for gradle-projects, plus related commands for nearby Linux tasks.