I guess I sent this by accident.  I hadn't finished my example on how to
share lists of dependences see the completed version here:



On Tue, May 22, 2012 at 10:38 AM, Jason Hatton <[email protected]> wrote:

> I am curious about what others are doing in their projects to store common
> configuration values.  Please give feedback on your approaches and I
> welcome opinions on the approaches I am sharing here.
>
> ...
>


> capability.  I am considering something like below in either a
> gradle.properties or some sort of initializing gradle script.
>
> SPRING_API =  [[group: 'org.springframework', name: 'spring-context',
> version: "$SPRING_VERSION"],
>                          [group: 'org.springframework', name:
> 'spring-jdbc', version: "$SPRING_VERSION"]]
>
> Then it would be possible to do:
>
> dependencies {
>         compile { SPRING_API }
>
}
>
>
>

Reply via email to