{"id":271,"date":"2012-04-06T19:11:57","date_gmt":"2012-04-07T02:11:57","guid":{"rendered":"http:\/\/www.connorgarvey.com\/blog\/?p=271"},"modified":"2012-04-06T19:12:52","modified_gmt":"2012-04-07T02:12:52","slug":"a-new-gradle-grails-plugin","status":"publish","type":"post","link":"https:\/\/connorgarvey.com\/blog\/?p=271","title":{"rendered":"A New Gradle Grails Plugin"},"content":{"rendered":"<p>My team wanted to use <a href=\"http:\/\/www.gradle.org\">Gradle<\/a> to build our <a href=\"http:\/\/www.grails.org\">Grails<\/a> project.\u00a0 We had some trouble with version compatibility problems between Grails and the Grails build plugin, though.\u00a0 Instead of using the plugin, we tried writing some code that called the &#8216;grails&#8217; command directly, but that caused problems with the CI server because it required that the correct version of Grails be preinstalled on all build servers and exist in a known location.\u00a0 I decided to try my hand at writing a simpler Grails build plugin and this is what I came up with.\u00a0 It doesn&#8217;t require Grails to be pre-installed on the machine and, since it just executes the &#8216;grails&#8217; command, it works with any version.<\/p>\n<p><a href=\"http:\/\/connorwgarvey.github.com\/gradle-grails-wrapper\/\">Fork it!\u00a0 Or just use it \ud83d\ude42<\/a><\/p>\n<p><a href=\"http:\/\/connorwgarvey.github.com\/gradle-grails-wrapper\/\">Gradle Grails Wrapper<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My team wanted to use Gradle to build our Grails project.\u00a0 We had some trouble with version compatibility problems between Grails and the Grails build plugin, though.\u00a0 Instead of using the plugin, we tried writing some code that called the &#8216;grails&#8217; command directly, but that caused problems with the CI server because it required that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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","enabled":false},"version":2}},"categories":[66,65],"tags":[44,47,54,48,55,56],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-gradle","category-groovy","tag-build","tag-gradle","tag-grails","tag-groovy","tag-plugin","tag-wrapper"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1ql2n-4n","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":2,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/273"}],"wp:attachment":[{"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/connorgarvey.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}