On 30/09/2011, at 2:56 PM, Szczepan Faber wrote:

> Any feedback on the DSL? Below is kind of wordy:
> 
> configurations.compile.versionConflictStrategy = 
> VersionConflictStrategy.LATEST

Maybe introduce another more DSL friendly container type, to allow

configurations.compile.versionConflictStrategy.latest()

Or for custom versions:

configurations.compile.versionConflictStrategy.custom new MyCustomStrategy()

or 

configurations.compile.versionConflictStrategy.set MyCustomStrategy()

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com

Reply via email to