Thursday, October 16, 2014

Reuse repository definitions in gradle

A project I'm working on has accumulated a bunch of repositories we need for the build.gradle script and for the build itself. I don't want to keep everything twice so I thought some re-use is in order. Thanks to the excellent gradle javadocs and api design, it was easy to accomplish. The end result is this:

1 comment:

  1. Not sure that I would quite benefit from this as I don’t do much programming, though I will share it with some friends who do.