I'm using Android Studio 0.2.5 with gradle 1.6. I'm collaborating with a developer of a library I'm using, so when he pushes updates to some-library:2.1.5-SNAPSHOT
I'd like to get it immediately. I can disable caching for changing modules in gradle by setting the resolution strategy as follows:
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
This works fine for command line builds, but it looks like Android Studio is still using the old version of some-library-2.1.5-SNAPSHOT
. The only workaround I've been able to get to work is to delete myproject.iml
and the .idea
directory and re-import into Android Studio, which is very time consuming and seems unnecessary.