In our team we have many projects which are using Gradle. Every project have in its root directory ‘externals’.
– externals |-shardconnector
Externals folder is shared between all projects (It’s implemented using Subversion externals property, so it is same for every project). In ‘externals’ folder we Gradle distribution: gradle-1.4-bin.zip. Gradle wrapper is using this exact distribution. Now, when I am building projects I can see that every project is creating it’s own distribution in my home:
It causes big problems on CI server, as we have 7 projects using gradle. Every project is taking in CI server home about 80 MB for same files: zipped gradle distribution and its unpacked version. Currently its about 500 MB on server and will be even more if we will add another projects. Also other (human) users can use Gradle and the same problem will appear by them.
My question is if it is necessary to take into consideration Gradle distribution path? If there is no essential reasons behind current behavior, I would say that this is a bug.
I would be thankful for your comments and eventually solution for this problem.