Snapshots for plugins don't work in gradle

to use latest version I use

configurations.all {

// check for updates every build

resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’

//resolutionStrategy.cacheDynamicVersionsFor 0, ‘seconds’ }

but with plugins this is not true, newest buildscript dependencies are not downloaded and the first version is used ALWAYS

Tried to add classpath configuration explicitly and add plugin to dependencies but this didn’t helped either

details here :

http://pastebin.com/zjDhkNfd

The ‘buildscript’ block is evaluated separately, and you’ll need to configure the cache timeout directly within that block.

’’‘
buildscript {
    configurations.classpath {
         resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’
   }
}
’’’