gradlew clean vs gradlew clear有什么区别

时间:2018-08-18 23:20:02

标签: android react-native gradle

我在我的本机项目的gradlew clear文件夹中错误地写了gradlew clean而不是android,我发现它做了一些认真的工作。那么这是做什么的,gradlew的{​​{1}}与clear之间有什么区别?我找不到文档。

也可以理解:运行clean时似乎正在运行Java类。 gradlew.bat在哪里,clean Java类在哪里?还是这是gradlew(java)程序的某些内部命令?

1 个答案:

答案 0 :(得分:0)

好的,所以严肃的工作是“加载6/6项目”,然后经过一会儿说:

sslmode=disabled

因此没有C:\dev\devreact\noam\android>gradlew clear Incremental java compilation is an incubating feature. FAILURE: Build failed with an exception. * What went wrong: Task 'clear' not found in root project 'noam'. Some candidates are: 'clean'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 49.374 secs

关于清洁:您可以阅读以下内容来收集很多信息:https://www.labkey.org/Documentation/wiki-page.view?name=gradleClean

Gradle文档对清洁一无所知,也没有真正解释Gradle的内部原理。