On 04/08/2011, at 4:28 AM, Szczepan Faber wrote:

> >every time I change a line of code in the library and do a gradle install, 
> >the
> >application must rebuild the Gradle cache to see the change
> 
> What 'kind' of version do you install when you change the line of code (e.g. 
> release or snapshot)? If you use snapshots then it should work out of the box 
> and you should not need to purge cache.

If you don't want to use the -SNAPSHOT suffix convention, you can declare that 
the dependency can change…

dependencies {
        compile("org:dep:1.0") {
                changing = true
        }
}

That tells Gradle (Ivy really) that this dependency must be checked at the 
source every time dependency resolution is performed because this dependency is 
capable of changing.

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

Reply via email to