gradle --help

C:\Users\Administrator\Desktop>gradle --help

USAGE: gradle [option...] [task...]

-?, -h, --help Shows this help message.
-a, --no-rebuild Do not rebuild project dependencies.
-b, --build-file Specifies the build file.
-c, --settings-file Specifies the settings file.
--configure-on-demand Only relevant projects are configured in this build run.
This means faster build for large multi-project builds. [incubating]
--console Specifies which type of console output to generate. Valu
es are 'plain', 'auto' (default) or 'rich'.
--continue Continues task execution after a task failure.
-D, --system-prop Set system property of the JVM (e.g. -Dmyprop=myvalue).
-d, --debug Log in debug mode (includes normal stacktrace).
--daemon Uses the Gradle Daemon to run the build. Starts the Daem
on if not running.
--foreground Starts the Gradle Daemon in the foreground. [incubating]

-g, --gradle-user-home Specifies the gradle user home directory.
--gui Launches the Gradle GUI.
-I, --init-script Specifies an initialization script.
-i, --info Set log level to info.
--include-build Includes the specified build in the composite. [incubati
ng]
-m, --dry-run Runs the builds with all task actions disabled.
--max-workers Configure the number of concurrent workers Gradle is all
owed to use. [incubating]
--no-daemon Do not use the Gradle Daemon to run the build.
--offline The build should operate without accessing network resou
rces.
-P, --project-prop Set project property for the build script (e.g. -Pmyprop
=myvalue).
-p, --project-dir Specifies the start directory for Gradle. Defaults to cu
rrent directory.
--parallel Build projects in parallel. Gradle will attempt to deter
mine the optimal number of executor threads to use. [incubating]
--profile Profiles build execution time and generates a report in
the <build_dir>/reports/profile directory.
--project-cache-dir Specifies the project-specific cache directory. Defaults
to .gradle in the root project directory.
-q, --quiet Log errors only.
--recompile-scripts Force build script recompiling.
--refresh-dependencies Refresh the state of dependencies.
--rerun-tasks Ignore previously cached task results.
-S, --full-stacktrace Print out the full (very verbose) stacktrace for all exc
eptions.
-s, --stacktrace Print out the stacktrace for all exceptions.
--status Shows status of running and recently stopped Gradle Daem
on(s).
--stop Stops the Gradle Daemon if it is running.
-t, --continuous Enables continuous build. Gradle does not exit and will
re-execute tasks when task file inputs change. [incubating]
-u, --no-search-upward Don't search in parent folders for a settings.gradle fil
e.
-v, --version Print version info.
-x, --exclude-task Specify a task to be excluded from execution.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 时间 事件 时间的事件 高 低 并无高低 归来吧,世界的本质毫无意义, 归来吧,心灵总需要一个地方安息。
    海碗咖啡阅读 394评论 0 0
  • 世界上最遥远的距离,不是生与死,而是男神就在你面前,你却找不到通往他心里的那条路。 《诗经》里说,窈窕淑女,君子好...
    顾一宸阅读 7,760评论 105 170
  • 早期创业孵化器领域里一直有两派声音,第一派认为孵化器能够给到早期创业项目非常多的帮助。他们一般会列举许多从各地孵化...
    STORIES阅读 563评论 1 2
  • 俗话说:莲藕一身宝,秋藕最养人。初秋多吃藕能够养阴清热、润燥止渴、清心安神。今天给大家准备了四道以藕为主要食材的美...
    一生所求8阅读 336评论 0 0
  • 阳光洒满屋子,一片金灿灿,怎能辜负这美好的时光,不如爬山去。 有多久没来韶山了,新修的台阶整齐平坦,好像欢迎新老游...
    健的XUYU阅读 283评论 0 0

友情链接更多精彩内容