When playing with my demos I hit the following problems. To reproduce download: https://github.com/gradleware/live-demos/tree/master/cache-expiration
See the readme file for the set up of the demo. Run an initial uploadArchives task for the producer projects. Set the timeout value to zero in the consumer project. Then run the show task of the consumer project. Run uploadArchives again in the producer project and run the consumer show task again to see that the changing module zoo is downloaded. Now remove the changing property to false in the consumer project. Run the show task again. Now run producers uploadArchives again, set the consumer's changing property to true again. The new version of zoo is not downloaded. Gradle seems never to check again for new versions of zoo.
Sidequestion: How could I manually kick out all of zoo in the cache?
|