In Gradle we can group related tasks using the group property of a task. We provide the name of our group and if we look at the output of the tasks ta...
分类:
其他好文 时间:
2014-12-27 20:11:27
阅读次数:
140
If we want to know more about how much time is spent in tasks we can use the --profile command-line option. Gradle will generate a report file in the ...
分类:
其他好文 时间:
2014-12-27 20:10:44
阅读次数:
185
Gradle Goodness: Task Output Annotations Create Directory AutomaticallyOne of the great features of Gradle is incremental build support. With incremen...
分类:
其他好文 时间:
2014-12-27 10:09:31
阅读次数:
250
Gradle Goodness: Init Script for Adding Extra Plugins to Existing ProjectsGradle is very flexible. One of the ways to alter the build configuration is...
分类:
其他好文 时间:
2014-12-27 10:07:36
阅读次数:
180
Gradle uses the name build.gradle as the default name for a build file. If we write our build code in a file build.gradle then we don't have to specif...
分类:
其他好文 时间:
2014-12-27 10:06:48
阅读次数:
148
We can run a Gradle build without any of the task actions being executed. This is a so-called dry run of our build. We can use the dry run of a build ...
分类:
其他好文 时间:
2014-12-26 22:49:13
阅读次数:
342
If we use Gradle in a multi-module project we can define project dependencies between modules. Gradle uses the information from the project dependenci...
分类:
其他好文 时间:
2014-12-26 21:36:13
阅读次数:
106
To get the current Gradle version we can use the gradleVersion property of the Gradle object. This returns a string value we can use for displaying th...
分类:
其他好文 时间:
2014-12-26 21:33:39
阅读次数:
207
If we run a Gradle build and one of the tasks fails, the whole build stops immediately. So we have fast feedback of our build status. If we don't want...
分类:
其他好文 时间:
2014-12-26 21:31:21
阅读次数:
262
Migrating from Ant to Gradle is very easy with the importBuild method from AntBuilder. We only have to add this single line and reference our existing...
分类:
其他好文 时间:
2014-12-26 20:16:26
阅读次数:
358