码迷,mamicode.com
首页 >  
搜索关键字:gradle android用户指南    ( 3575个结果
Gradle Goodness: Add Incremental Build Support to Tasks
Gradle has a very powerful incremental build feature. This means Gradle will not execute a task unless it is necessary. We can help Gradle and configu...
分类:其他好文   时间:2014-12-27 21:45:24    阅读次数:201
Gradle Goodness: Automatic Clean Tasks
Gradle adds the task rule clean to our projects when we apply the base plugin. This task is able to remove any output files or directories we have def...
分类:其他好文   时间:2014-12-27 21:43:30    阅读次数:296
Gradle Goodness: Group Similar Tasks
In Gradle we can assign a task to a group. Gradle uses the group for example in the output of $ gradle -t to output all the tasks of the same group to...
分类:其他好文   时间:2014-12-27 21:39:47    阅读次数:193
Gradle Goodness: Parse Files with SimpleTemplateEngine in Copy Task
With the copy task of Gradle we can copy files that are parsed by Groovy's SimpleTemplateEngine. This means we can expand properties in the source fil...
分类:其他好文   时间:2014-12-27 21:38:19    阅读次数:201
Gradle Goodness: Display Available Tasks
To see which tasks are available for our build we can run Gradle with the command-line option -t or --tasks. Gradle outputs the available tasks from o...
分类:其他好文   时间:2014-12-27 21:37:29    阅读次数:208
Gradle Goodness: Add Incremental Build Support to Custom Tasks with Annotations
In a previous post we learned how we can use the inputs and outputs properties to set properties or files that need to be checked to see if a task is ...
分类:其他好文   时间:2014-12-27 21:36:39    阅读次数:168
Gradle Goodness: Run a Build Script With a Different Name
Normally Gradle looks for a build script file with the name build.gradle in the current directory to execute a build. But we can easily use a differen...
分类:其他好文   时间:2014-12-27 21:36:08    阅读次数:189
Gradle进行项目jar打包
Ant 和 Maven构建工具都是用xml来描述任务结构的,总体而言打包项目等任务都可以,但毕竟xml的灵活性稍微差些, 新的企业构建工具Gradle就类似于linux上的shell脚本,采用Groovy动态语言编写脚本。...
分类:编程语言   时间:2014-12-27 20:28:44    阅读次数:172
Gradle Goodness: Unpacking an Archive
To create an archive with Gradle is easy. We have several tasks like Zip, Tar, Jar, War and Ear to create a new archive. But there is no UnZip or UnTa...
分类:其他好文   时间:2014-12-27 20:24:26    阅读次数:171
Gradle Goodness: Copy Files with Filtering
Gradle Goodness: Copy Files with FilteringGradle's copy task is very powerful and includes filtering capabilities. This means we can change the conten...
分类:其他好文   时间:2014-12-27 20:23:43    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!