Decouple Gradle version used by build from the Gradle version used during compile for plugin projects

Something I would find really helpful, is the ability to use different versions of Gradle for my build than what I compile my plugins against. The use case for this would be taking advantage of new Gradle features in my project’s build file, while still maintaining compatibility with older versions of Gradle by compiling against an old version of Gradle.

I’ve tracked hacking something together before that uses the internal wrapper package to represent a Gradle dist that I could compile against. It works, but I would much prefer an official solution.

Hi Andrew,

This is something we do plan to do. It will likely happen at the same time that we bust up the distribution, which relies on plugin hosting infrastructure.