上一页 1 2 3 4 5 6 ··· 14 下一页

2014年12月27日

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 ... 阅读全文

posted @ 2014-12-27 19:36 为梦飞翔 阅读(203) 评论(0) 推荐(0)

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()... 阅读全文

posted @ 2014-12-27 19:32 为梦飞翔 阅读(223) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 19:18 为梦飞翔 阅读(499) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 19:16 为梦飞翔 阅读(314) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 19:13 为梦飞翔 阅读(387) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 18:53 为梦飞翔 阅读(249) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 09:54 为梦飞翔 阅读(393) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 09:47 为梦飞翔 阅读(278) 评论(0) 推荐(0)

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... 阅读全文

posted @ 2014-12-27 09:41 为梦飞翔 阅读(298) 评论(0) 推荐(0)

2014年12月26日

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 ... 阅读全文

posted @ 2014-12-26 22:34 为梦飞翔 阅读(398) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 14 下一页

导航