Gretar Arnason wrote:
> 
> I'll reflect on adding the buildscript section to include the plugin,
> however I'm hiccuping a little on this duplicated section all over the
> place.
> 

That's five lines of code per multi-project build (not per script!). Can't
see how it could get much simpler than that. Somehow you'll have to tell
Gradle where to get the plugin from.

If you want a one-liner and/or don't want to package your code, try "apply
from: 'http://...'". Probably best to stick the URL into a root project
variable, or the whole expression into a root project method.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org


-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/plugin-initialization-in-a-multiproject-build-tp3384288p3385014.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to