diff --git a/lib/builders/ProjectBuilder.js b/lib/builders/ProjectBuilder.js index 271e71401..84d20df56 100644 --- a/lib/builders/ProjectBuilder.js +++ b/lib/builders/ProjectBuilder.js @@ -127,6 +127,11 @@ class ProjectBuilder { throw new CordovaError(`Cannot install Gradle ${gradleVersion}. Minimum Required is ${MIN_GRADLE_REQUIRED}.`); } + // TODO: Debug code debugging CI... + console.log('ROOT', this.root, '\n', + fs.existsSync(path.resolve(this.root, 'gradle/wrapper/gradle-wrapper.jar')) + ); + const wrapper = path.join(this.root, 'gradlew'); if (process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL) { events.emit('verbose', `Overriding Gradle Version via CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL (${process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL})`);