Gradle Core modularity (and gradle binary package size)


(Nicolas Mongrain-Lacombe) #1

The download binary size is ~50MB. I think it would be a good thing to try to make it smaller. I know one of my favorite gradle’s feature is the dependency management and the fact that it can automatically download the dependencies. I think this principle could be used to make the base gradle binary package smaller: the base package could contain only core components of gradle and all the other plugins/components could be donwloaded by gradle when needed.


(Luke Daley) #2

Hi Nicolas,

This is something we plan to do, but don’t have scheduled.

Details (as they are) are spread across these two specs:

  1. https://github.com/gradle/gradle/blob/master/design-docs/publishing-and-sharing-plugins.md 2. https://github.com/gradle/gradle/blob/master/design-docs/custom-build-runtimes.md

(Nicolas Mongrain-Lacombe) #3

I read both documents and I really liked what I saw!

I think this should really be considered for the next big release of Gradle.