{"id":1526,"date":"2010-11-13T14:53:47","date_gmt":"2010-11-13T23:53:47","guid":{"rendered":"https:\/\/www.kellyrob99.com\/blog\/?p=1526"},"modified":"2010-12-30T19:08:31","modified_gmt":"2010-12-31T04:08:31","slug":"why-do-i-like-gradle","status":"publish","type":"post","link":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/","title":{"rendered":"Why do I Like Gradle?"},"content":{"rendered":"<p><a href=\"http:\/\/gradle.org\/\">Gradle<\/a>, if you don&#8217;t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the <a href=\"http:\/\/maven.apache.org\/\">Maven<\/a> and <a href=\"http:\/\/ant.apache.org\/\">Ant<\/a> frameworks, yet is pitched as not suffering from the same &#8220;<a href=\"http:\/\/www.codinghorror.com\/blog\/2005\/11\/conversations-with-erich-gamma.html\">Frameworkitis<\/a>&#8220;. And I&#8217;ve gotta say &#8211; the results are pretty spectacular. Among the major selling features, at least as I see it, are:<\/p>\n<ul>\n<li>Groovy syntax and a very terse and descriptive dsl that makes build scripts easily comprehensible<\/li>\n<li>flexibility of layout, configuration, organizing build logic &#8211; pretty much everything<\/li>\n<li>incremental builds, based on an easily implementable pattern<\/li>\n<li>convention over configuration paradigm, thank you very much Maven<\/li>\n<li>clear separation of build configuration from execution<\/li>\n<li>extensibility at every level<\/li>\n<\/ul>\n<h2>The most basic Java build<\/h2>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\napply plugin: 'java'\r\n<\/pre>\n<p>That&#8217;s it. One line of Groovy in a file called &#8216;build.gradle&#8217; and you can build a Java project with a Maven-standardized project layout.<\/p>\n<pre>\r\n\u00e2\u201d\u0153\u00e2\u201d\u20ac\u00e2\u201d\u20ac build.gradle\r\n\u00e2\u201d\u201d\u00e2\u201d\u20ac\u00e2\u201d\u20ac src\r\n    \u00e2\u201d\u0153\u00e2\u201d\u20ac\u00e2\u201d\u20ac main\r\n    \u00e2\u201d\u201a   \u00e2\u201d\u0153\u00e2\u201d\u20ac\u00e2\u201d\u20ac java\r\n    \u00e2\u201d\u201a   \u00e2\u201d\u201d\u00e2\u201d\u20ac\u00e2\u201d\u20ac resources\r\n    \u00e2\u201d\u201d\u00e2\u201d\u20ac\u00e2\u201d\u20ac test\r\n        \u00e2\u201d\u0153\u00e2\u201d\u20ac\u00e2\u201d\u20ac java\r\n        \u00e2\u201d\u201d\u00e2\u201d\u20ac\u00e2\u201d\u20ac resources\r\n<\/pre>\n<p>Included with the Java plugin are tasks to compile, package, test and javadoc your code. You also get <a href=\"http:\/\/gradle.org\/latest\/docs\/userguide\/artifact_dependencies_tutorial.html#sec:artifact_configurations\">configuration<\/a> objects to describe the artifacts that your build depends on and those  that it produces. Of course, with this most basic setup these configurations don&#8217;t yet have anything in them, but in a complex build they&#8217;re very handy for isolating the responsibilities of each task. Because you can both configure the existing configurations and add custom ones yourself, it&#8217;s very easy to accommodate a project that follows a different structure, whether that is just differently named source directories or multiple directories that need specific processing. This is VERY handy for legacy builds.<\/p>\n<h2>Incremental builds<\/h2>\n<p>Gradle provides a very easy way to create tasks that are able to execute only if their declared input and\/or output artifacts have changed. This makes it trivial to incorporate your custom build behaviour into an incremental build. As an example I&#8217;d like to expand upon something I read by <a href=\"http:\/\/twitter.com\/etiennestuder\">Etienne Studer<\/a> in this month&#8217;s <a href=\"http:\/\/jaxenter.com\/jaxmag\">JAXmag<\/a>. It&#8217;s a great example of developing an incremental task. First here&#8217;s the task implementation almost verbatim from the article. I&#8217;ve updated it slightly to make the output more readable using FileUtils, and you can examine the file it spits out from the build\/reports\/size directory that will be automatically created when it executes.<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\nclass Size extends DefaultTask\r\n{\r\n    @InputFiles FileTree inputDir\r\n    @OutputFile File outputFile\r\n\r\n    @TaskAction\r\n    void generate()\r\n    {\r\n        def totalSize = inputDir.files.inject(0) { def size, File file -&gt; size + file.size()\r\n        }\r\n        outputFile.text = FileUtils.byteCountToDisplaySize(totalSize)\r\n    }\r\n}\r\n<\/pre>\n<p>If you simply include this class definition in a build file, it will be automatically compiled and available for use elsewhere in the script. It could just as easily be defined in a separate file(local or remote), in a jar on the classpath or in the buildSrc directory of your Gradle project. This flexibility enables developing and evolving tasks in a very agile fashion, encouraging you to publish the results for reuse instead of re-implementing the logic in other projects.<br \/>\nIn order to execute this task as part of a build, we first need to configure it. In this case, I&#8217;m configuring it to work on all declared configurations and all source, both code and associated resources. In order to do so, I&#8217;m using a couple of Gradle internal classes, <a href=\"http:\/\/www.gradle.org\/latest\/docs\/javadoc\/org\/gradle\/api\/file\/FileTree.html\">FileTree<\/a> and <a href=\"http:\/\/www.gradle.org\/latest\/docs\/javadoc\/org\/gradle\/api\/tasks\/SourceSet.html\">SourceSet<\/a>, which actually sound pretty self-explanatory to me. The key part is the assignment of the &#8216;inputDir&#8217; and &#8216;outputFile&#8217; properties on the task.<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\ntask size(type:Size){\r\n    def filetree = sourceSets.inject(new UnionFileTree()) { FileTree total, SourceSet sourceSet -&gt;\r\n        total += sourceSet.allSource\r\n        total\r\n    }\r\n    inputDir = filetree\r\n    outputFile = file(&quot;$reportsDir\/size\/size.txt&quot;)\r\n}\r\n<\/pre>\n<p>Just to prove that it&#8217;s working incrementally, here&#8217;s the output from successive invocations. Note that &#8216;UP-TO-DATE&#8217; in the output that indicates the task was skipped the second time around, because none of the inputs changed and the output file hasn&#8217;t been deleted.<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\ngradle-intro$ gradle size\r\n:size\r\n\r\nBUILD SUCCESSFUL\r\n\r\nTotal time: 2.963 secs\r\n\r\ngradle-intro$ gradle size\r\n:size UP-TO-DATE\r\n\r\nBUILD SUCCESSFUL\r\n\r\nTotal time: 2.912 secs\r\n<\/pre>\n<p>This task does actually have a concrete dependency on the Java plugin, since without that convention applied neither the &#8216;sourceSets&#8217; or &#8216;reportsDir&#8217; objects would be present. Here&#8217;s the complete version of the build file that&#8217;s been built so far, 28 lines including imports and spacing.<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\nimport org.apache.commons.io.FileUtils\r\nimport org.gradle.api.internal.file.UnionFileTree\r\nimport org.gradle.api.tasks.SourceSet\r\n\r\napply plugin: 'java'           \r\n\r\ntask size(type:Size){\r\n    def filetree = sourceSets.inject(new UnionFileTree()) { FileTree total, SourceSet sourceSet -&gt;\r\n        total += sourceSet.allSource\r\n        total\r\n    }\r\n    inputDir = filetree\r\n    outputFile = file(&quot;$reportsDir\/size\/size.txt&quot;)\r\n}\r\n\r\nclass Size extends DefaultTask\r\n{\r\n    @InputFiles FileTree inputDir\r\n    @OutputFile File outputFile\r\n\r\n    @TaskAction\r\n    void generate()\r\n    {\r\n        def totalSize = inputDir.files.inject(0) { def size, File file -&gt; size + file.size()\r\n        }\r\n        outputFile.text = FileUtils.byteCountToDisplaySize(totalSize)\r\n    }\r\n}\r\n<\/pre>\n<h2>Sharing your new Task<\/h2>\n<p>The simplest way to share build logic is to &#8216;apply&#8217; it. This simple shorthand covers everything from plugins to local files to remotely hosted resources. Here&#8217;s how easy it is to incorporate this particular task implementation and configuration into a build using a relative file path.<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\napply from : '..\/gradle-intro\/build.gradle'\r\n<\/pre>\n<p>And because only a simple http connection is required to share it to a broader base, here&#8217;s how you can reference a copy on this site. Sorry about the .txt extension, but I didn&#8217;t feel like editing php to allow a new filetype today \ud83d\ude42<\/p>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\napply from : 'https:\/\/www.kellyrob99.com\/blog\/wp-content\/uploads\/downloads\/2010\/11\/gradleSizeTask.txt'\r\n<\/pre>\n<h2>Some other reading<\/h2>\n<p>If you&#8217;re still not sold on Gradle, here&#8217;s some articles I&#8217;ve seen recently that at the very least will give you a better perspective.<br \/>\n<a href=\"http:\/\/community.jboss.org\/wiki\/Gradlewhy\">Hibernate &#8211; Gradle why?<\/a><br \/>\n<a href=\"http:\/\/jaxenter.com\/maven-vs-gradle-vs-ant.1-30682.html\">Maven VS Gradle VS Ant<\/a><br \/>\nMaven to Gradle: <a href=\"http:\/\/www.beeworks.be\/maven-to-gradle-part-1\/\">Part 1<\/a>, <a href=\"http:\/\/www.beeworks.be\/maven-to-gradle-part-2\/\">Part 2<\/a>,  <a href=\"http:\/\/www.beeworks.be\/maven-to-gradle-part-3\/\">Part 3<\/a><br \/>\n<a href=\"http:\/\/kaczanowscy.pl\/tomek\/2010-11\/build-script-length-maven3-polyglot-maven-gradle-ant\">A comparison of build script length<\/a><br \/>\n<a href=\"http:\/\/kaczanowscy.pl\/tomek\/2009-11\/ant-gradle-and-maven-comparison-install-script\">Ant\/Gradle\/Maven comparison<\/a><br \/>\n<a href=\"http:\/\/java.dzone.com\/hibernate-users-learn-gradle\">DZone article<\/a><br \/>\n<a href=\"http:\/\/openmrs-mailing-list-archives.1560443.n2.nabble.com\/Maven-vs-Gradle-td4511793.html\">OpenMRS Mailing list on Maven VS Gradle<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gradle, if you don&#8217;t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &#8220;Frameworkitis&#8220;. And I&#8217;ve gotta say &#8211; the results are pretty spectacular. Among [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[225,224,219,257,258,112,42,113],"class_list":["post-1526","post","type-post","status-publish","format-standard","hentry","category-dev","tag-ant","tag-build","tag-gradle","tag-groovy","tag-java","tag-kellyrob99","tag-maven","tag-thekaptain"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Gradle, if you don&#039;t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I&#039;ve gotta say - the results are pretty spectacular.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"TheKaptain\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"The Kaptain on ... stuff | Tales of development, life and the folly that goes along with both\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Why do I like gradle? | The Kaptain on ... stuff\" \/>\n\t\t<meta property=\"og:description\" content=\"Gradle, if you don&#039;t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I&#039;ve gotta say - the results are pretty spectacular.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-11-13T23:53:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-12-31T04:08:31+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Why do I like gradle? | The Kaptain on ... stuff\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Gradle, if you don&#039;t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I&#039;ve gotta say - the results are pretty spectacular.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#article\",\"name\":\"Why do I like gradle? | The Kaptain on ... stuff\",\"headline\":\"Why do I Like Gradle?\",\"author\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\"},\"datePublished\":\"2010-11-13T14:53:47-09:00\",\"dateModified\":\"2010-12-30T19:08:31-09:00\",\"inLanguage\":\"en-US\",\"commentCount\":10,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#webpage\"},\"articleSection\":\"Development, Ant, build, Gradle, Groovy, Java, kellyrob99, maven, theKaptain\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"position\":2,\"name\":\"Development\",\"item\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#listItem\",\"name\":\"Why do I Like Gradle?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#listItem\",\"position\":3,\"name\":\"Why do I Like Gradle?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"name\":\"Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\",\"name\":\"The Kaptain on ... stuff\",\"description\":\"Tales of development, life and the folly that goes along with both\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"TheKaptain\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e41f09f3548f065fe6967ac904d3ea2a638614c16d879cac47cfad64e5b1426a?s=96&d=monsterid&r=g\",\"width\":96,\"height\":96,\"caption\":\"TheKaptain\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#webpage\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/\",\"name\":\"Why do I like gradle? | The Kaptain on ... stuff\",\"description\":\"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same \\\"Frameworkitis\\\". And I've gotta say - the results are pretty spectacular.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2010\\\/11\\\/13\\\/why-do-i-like-gradle\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2010-11-13T14:53:47-09:00\",\"dateModified\":\"2010-12-30T19:08:31-09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/\",\"name\":\"The Kaptain on ... stuff\",\"description\":\"Tales of development, life and the folly that goes along with both\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Why do I like gradle? | The Kaptain on ... stuff","description":"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same \"Frameworkitis\". And I've gotta say - the results are pretty spectacular.","canonical_url":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#article","name":"Why do I like gradle? | The Kaptain on ... stuff","headline":"Why do I Like Gradle?","author":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#organization"},"datePublished":"2010-11-13T14:53:47-09:00","dateModified":"2010-12-30T19:08:31-09:00","inLanguage":"en-US","commentCount":10,"mainEntityOfPage":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#webpage"},"isPartOf":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#webpage"},"articleSection":"Development, Ant, build, Gradle, Groovy, Java, kellyrob99, maven, theKaptain"},{"@type":"BreadcrumbList","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.kellyrob99.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","position":2,"name":"Development","item":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#listItem","name":"Why do I Like Gradle?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#listItem","position":3,"name":"Why do I Like Gradle?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","name":"Development"}}]},{"@type":"Organization","@id":"https:\/\/www.kellyrob99.com\/blog\/#organization","name":"The Kaptain on ... stuff","description":"Tales of development, life and the folly that goes along with both","url":"https:\/\/www.kellyrob99.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author","url":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/","name":"TheKaptain","image":{"@type":"ImageObject","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e41f09f3548f065fe6967ac904d3ea2a638614c16d879cac47cfad64e5b1426a?s=96&d=monsterid&r=g","width":96,"height":96,"caption":"TheKaptain"}},{"@type":"WebPage","@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#webpage","url":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/","name":"Why do I like gradle? | The Kaptain on ... stuff","description":"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same \"Frameworkitis\". And I've gotta say - the results are pretty spectacular.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/#breadcrumblist"},"author":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"datePublished":"2010-11-13T14:53:47-09:00","dateModified":"2010-12-30T19:08:31-09:00"},{"@type":"WebSite","@id":"https:\/\/www.kellyrob99.com\/blog\/#website","url":"https:\/\/www.kellyrob99.com\/blog\/","name":"The Kaptain on ... stuff","description":"Tales of development, life and the folly that goes along with both","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"The Kaptain on ... stuff | Tales of development, life and the folly that goes along with both","og:type":"article","og:title":"Why do I like gradle? | The Kaptain on ... stuff","og:description":"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I've gotta say - the results are pretty spectacular.","og:url":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/","article:published_time":"2010-11-13T23:53:47+00:00","article:modified_time":"2010-12-31T04:08:31+00:00","twitter:card":"summary","twitter:title":"Why do I like gradle? | The Kaptain on ... stuff","twitter:description":"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I've gotta say - the results are pretty spectacular."},"aioseo_meta_data":{"post_id":"1526","title":"Why do I like gradle? | #site_title","description":"Gradle, if you don't already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same &quot;Frameworkitis&quot;. And I've gotta say - the results are pretty spectacular.","keywords":[{"label":"Ant","value":"Ant"},{"label":"build","value":"build"},{"label":"Gradle","value":"Gradle"},{"label":"Groovy","value":"Groovy"},{"label":"Java","value":"Java"},{"label":"kellyrob99","value":"kellyrob99"},{"label":"maven","value":"maven"},{"label":"theKaptain","value":"theKaptain"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-09 05:15:21","updated":"2025-11-29 20:28:39","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.kellyrob99.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWhy do I Like Gradle?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.kellyrob99.com\/blog\/"},{"label":"Development","link":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/"},{"label":"Why do I Like Gradle?","link":"https:\/\/www.kellyrob99.com\/blog\/2010\/11\/13\/why-do-i-like-gradle\/"}],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/prjtg-oC","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/1526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/comments?post=1526"}],"version-history":[{"count":24,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/1526\/revisions"}],"predecessor-version":[{"id":1584,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/1526\/revisions\/1584"}],"wp:attachment":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/media?parent=1526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/categories?post=1526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/tags?post=1526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}