2.14.1.1 is not a valid Gradle version number

Hi,

We needed to patch Gradle source code and until the patch gets into the official repo, we must used our version. In order to distinguish it from the official one, the fourth digit has been added. Unfortunately, building our project using our Gradle distribution throws the following error:

Plugin [id: 'com.github.johnrengelman.shadow', version: '1.2.3'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (2.14.1.1 is not a valid Gradle version number)

The plugin is declared using plugins block. The issue could be worked around by reverting to the old approach using buildscript and apply plugin: 'com.github.johnrengelman.shadow'.

Is it really necessary to have this check?

Thanks,

Predrag

Anybody having more info?