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 (18.104.22.168 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
apply plugin: 'com.github.johnrengelman.shadow'.
Is it really necessary to have this check?