gradle --help
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gradle --help相关的知识,希望对你有一定的参考价值。
参考技术A C:\Users\Administrator\Desktop>gradle --helpUSAGE: 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.
Eclipse安装Gradle插件
一、Eclipse Marketplace
1、通过Eclipse Marketplace搜索Gradle,【Help】->【Eclipse Marketplace】
2、搜索关键字:gradle
3、安装
4、重启
二、Eclipse update manager
1、【Help】->【Install New Software】
2、输入:http://download.eclipse.org/releases/oxygen
选择完之后就可以安装。
参考:
http://www.vogella.com/tutorials/EclipseGradle/article.html#install-eclipse-gradle-buildship-tooling
以上是关于gradle --help的主要内容,如果未能解决你的问题,请参考以下文章
GroovyGradle 环境搭建 ( 下载 Gradle 工具 | 查找本地缓存的 Gradle 工具 | 配置 Gradle 环境变量 )
Android Gradle 插件Gradle 构建工具简介 ① ( Gradle 环境配置 | 官网下载 Gradle 软件包 | 在本地用户目录下查找 | 配置 Gradle 环境变量 )
Android Gradle 插件Gradle 依赖管理 ① ( org.gradle.api.Project 配置 | Android Gradle 插件配置与 Gradle 配置关联 ) ★
gradle wrapper, gradle ,gradle plugin 之间的关系
Android Gradle 插件Gradle 自动化构建 ① ( Gradle 构建工具简介 | Gradle 构建工具用途 )