You can share Gradle scripts via HTTP and include them with "apply from:
http://...";. No need to rewrite anything.


Espen Etternavn wrote:
> 
> Hi,
> 
> we have a setup of several gradle projects in separate git repositories.
> Some of these projects have properties, config files and scripts we would
> like to share.
> So I was wondering if there is a way of sharing this among the different
> projects.
> 
> Example:
> 
> projectX
> * build.gradle
> * checkstyle.gradle
> * config/checkstyle/checkstyle.xml
> 
> The same chekstyle.gradle and config/checkstyle/checkstyle.xml is then
> needed in another projectX
> 
> Is there a way to do this except from rewriting all the share gradle files
> as plugins?
> 
> Regards
> Espen
> 

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Sharing-scripts-and-configs-between-projects-tp4825273p4825367.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