<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Grails 2.0 #1: Gradle for the win?</title>
	<atom:link href="http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win</link>
	<description>A search for meaning in software and life</description>
	<lastBuildDate>Thu, 06 Oct 2011 21:33:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-1171</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 24 Oct 2010 13:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-1171</guid>
		<description>It&#039;s in limbo at the moment, but will probably form a starting point for Grails 2.0, which is switching to Gradle for its build system. Version 2 is currently scheduled for end of 2011.</description>
		<content:encoded><![CDATA[<p>It&#8217;s in limbo at the moment, but will probably form a starting point for Grails 2.0, which is switching to Gradle for its build system. Version 2 is currently scheduled for end of 2011.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davide Cavestro</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-1168</link>
		<dc:creator>Davide Cavestro</dc:creator>
		<pubDate>Thu, 21 Oct 2010 08:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-1168</guid>
		<description>Could you please update us on the status of the grails-build-x plugin? (cause it&#039;s a GREAT idea!!!)</description>
		<content:encoded><![CDATA[<p>Could you please update us on the status of the grails-build-x plugin? (cause it&#8217;s a GREAT idea!!!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe Cypriano</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-958</link>
		<dc:creator>Felipe Cypriano</dc:creator>
		<pubDate>Thu, 04 Mar 2010 12:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-958</guid>
		<description>For sure this would be a great move to Grails. Good idea.</description>
		<content:encoded><![CDATA[<p>For sure this would be a great move to Grails. Good idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Niederwieser</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-928</link>
		<dc:creator>Peter Niederwieser</dc:creator>
		<pubDate>Sat, 20 Feb 2010 16:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-928</guid>
		<description>This is a GREAT move! Looking forward to building the Grails Spock plugin with Gradle.</description>
		<content:encoded><![CDATA[<p>This is a GREAT move! Looking forward to building the Grails Spock plugin with Gradle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-925</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 19 Feb 2010 19:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-925</guid>
		<description>@Wolfgang This is tricky even with Gradle because I don&#039;t think you can add to the build classpath once the build script has started. So you can do it from &lt;tt&gt;buildSrc&lt;/tt&gt; or the &lt;tt&gt;buildscript&lt;/tt&gt; closure, but not from plugins. I&#039;m checking up on that though.

However, you do have the power to separate your code into build, runtime, and test stuff simply by adding an extra source set. For example, the grails-x plugin adds a &quot;plugin&quot; source set in which you can add build related code, in particular a Gradle plugin implementation. Just put the code in an &lt;tt&gt;src/plugin&lt;/tt&gt; directory and away you go. In this case, the grails-x plugin will load your plugin code and execute, but the classes won&#039;t be included in the project&#039;s compile or runtime classpaths.

In other words, it&#039;s possible, but you have to manage the classpaths and class loading yourself at the moment.

@Mark Grabbing the Gradle dependency stuff without simply using the whole of Gradle would, I suspect, have been too much work for little reward. I don&#039;t know for sure, but Gradle&#039;s dependency management is probably tightly integrated into its execution model and API. That said, I&#039;m not sure if anyone looked closely at it as a potential solution.

Thanks all for the positive feedback. Glad I&#039;m not a hermit with crazy ideas just yet :)</description>
		<content:encoded><![CDATA[<p>@Wolfgang This is tricky even with Gradle because I don&#8217;t think you can add to the build classpath once the build script has started. So you can do it from <tt>buildSrc</tt> or the <tt>buildscript</tt> closure, but not from plugins. I&#8217;m checking up on that though.</p>
<p>However, you do have the power to separate your code into build, runtime, and test stuff simply by adding an extra source set. For example, the grails-x plugin adds a &#8220;plugin&#8221; source set in which you can add build related code, in particular a Gradle plugin implementation. Just put the code in an <tt>src/plugin</tt> directory and away you go. In this case, the grails-x plugin will load your plugin code and execute, but the classes won&#8217;t be included in the project&#8217;s compile or runtime classpaths.</p>
<p>In other words, it&#8217;s possible, but you have to manage the classpaths and class loading yourself at the moment.</p>
<p>@Mark Grabbing the Gradle dependency stuff without simply using the whole of Gradle would, I suspect, have been too much work for little reward. I don&#8217;t know for sure, but Gradle&#8217;s dependency management is probably tightly integrated into its execution model and API. That said, I&#8217;m not sure if anyone looked closely at it as a potential solution.</p>
<p>Thanks all for the positive feedback. Glad I&#8217;m not a hermit with crazy ideas just yet <img src='http://www.cacoethes.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Almiray</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-924</link>
		<dc:creator>Andres Almiray</dc:creator>
		<pubDate>Fri, 19 Feb 2010 18:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-924</guid>
		<description>Way to go Peter! Very much looking forward to a leaner build system :-)</description>
		<content:encoded><![CDATA[<p>Way to go Peter! Very much looking forward to a leaner build system <img src='http://www.cacoethes.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Smithson</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-923</link>
		<dc:creator>Mark Smithson</dc:creator>
		<pubDate>Fri, 19 Feb 2010 18:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-923</guid>
		<description>Excellent. 

Would be great to be able to use a build system for grails with the power to go beyond the &quot;convention&quot; defaults provided by grails. In particular a properly configurable dependency resolution system as provided by gradle....

Not sure why Grails 1.2 did not use the Gradle dependency stuff and implemented it&#039;s own DSL (based on gradle&#039;s one, but a lot less powerful).

Will follow this with great interest.

Mark</description>
		<content:encoded><![CDATA[<p>Excellent. </p>
<p>Would be great to be able to use a build system for grails with the power to go beyond the &#8220;convention&#8221; defaults provided by grails. In particular a properly configurable dependency resolution system as provided by gradle&#8230;.</p>
<p>Not sure why Grails 1.2 did not use the Gradle dependency stuff and implemented it&#8217;s own DSL (based on gradle&#8217;s one, but a lot less powerful).</p>
<p>Will follow this with great interest.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang Schell</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-922</link>
		<dc:creator>Wolfgang Schell</dc:creator>
		<pubDate>Fri, 19 Feb 2010 13:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-922</guid>
		<description>Hi Peter,

great stuff, keep it going.

What I would like to see is the ability to compile source files, which can be used in the scripts provided by Grails plugins. The current build system does not distinguish between build-related code (other than scripts) and application code.

Regards,

Wolfgang</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>great stuff, keep it going.</p>
<p>What I would like to see is the ability to compile source files, which can be used in the scripts provided by Grails plugins. The current build system does not distinguish between build-related code (other than scripts) and application code.</p>
<p>Regards,</p>
<p>Wolfgang</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Ehrhardt</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/grails-2-0-1-gradle-for-the-win/comment-page-1#comment-921</link>
		<dc:creator>Jan Ehrhardt</dc:creator>
		<pubDate>Fri, 19 Feb 2010 12:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=208#comment-921</guid>
		<description>I would like to see it in Grails 2.0. It would be awesome, since Gradle rocks.</description>
		<content:encoded><![CDATA[<p>I would like to see it in Grails 2.0. It would be awesome, since Gradle rocks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

