W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
執(zhí)行 gradle projects 命令會(huì)為你列出子項(xiàng)目名稱列表.
例 11.7. 收集項(xiàng)目信息
gradle -q projects 命令的輸出結(jié)果
> gradle -q projects
------------------------------------------------------------
Root project
------------------------------------------------------------
Root project 'projectReports'
+--- Project ':api' - The shared API for the application
\--- Project ':webapp' - The Web application implementation
To see a list of the tasks of a project, run gradle <project-path>:tasks
For example, try running gradle :api:tasks
這份報(bào)告展示了每個(gè)項(xiàng)目的描述信息. 當(dāng)然你可以在項(xiàng)目中用 description 屬性來指定這些描述信息.
例 10.8. 為項(xiàng)目添加描述信息
build.gradle
description = 'The shared API for the application'
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: