码迷,mamicode.com
首页 >  
搜索关键字:gradle 源代码分析    ( 4179个结果
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
Gradle Goodness: Skip Building Project Dependencies
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
Gradle Goodness: Using and Working with Gradle Version
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
Gradle Goodness: Continue Build Even with Failed Tasks
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
Gradle Goodness: Rename Ant Task Names When Importing Ant Build File
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!