With the Gradle copy task we can define renaming rules for the files that are copied. We use the rename() method of the copy task to define the naming...
分类:
其他好文 时间:
2014-12-27 20:17:35
阅读次数:
183
With Gradle we can execute Java applications using the JavaExec task or the javaexec() method. If we want to run Java code from an external dependency...
分类:
移动开发 时间:
2014-12-27 20:14:55
阅读次数:
165
If we want to set an explicit encoding for the Java compiler in Gradle we can use the options.encoding property. For example we could add the followin...
分类:
编程语言 时间:
2014-12-27 20:14:31
阅读次数:
228
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