码迷,mamicode.com
首页 >  
搜索关键字:gradle android用户指南    ( 3575个结果
Gradle Goodness: Working with Live Task Collection
Gradle support the definition of so called live collections. These collections are mostly created based on criteria like with a filter() or matching()...
分类:其他好文   时间:2014-12-27 20:18:45    阅读次数:203
Gradle Goodness: Renaming Files while Copying
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
Gradle Goodness: Running Java Applications from External Dependency
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
Gradle Goodness: Set Java Compiler Encoding
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
Gradle Goodness: Adding Tasks to a Predefined Group
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
Gradle Goodness: Profiling Information
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 Automatically
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 Projects
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 Goodness: Changing Name of Default Build File
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
Gradle Goodness: Check Task Dependencies With a Dry Run
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!