This commit is contained in:
Paul Merlin 2019-12-09 15:22:02 +01:00
parent a2ba194e38
commit d0c5f7955e

View File

@ -44,7 +44,7 @@ run();
function resolveGradleExecutable(baseDirectory) { function resolveGradleExecutable(baseDirectory) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const gradleVersion = inputOrNull("gradle-version"); const gradleVersion = inputOrNull("gradle-version");
if (gradleVersion != null) { if (gradleVersion != null && gradleVersion != "wrapper") {
return path.resolve(yield provision.gradleVersion(gradleVersion)); return path.resolve(yield provision.gradleVersion(gradleVersion));
} }
const gradleExecutable = inputOrNull("gradle-executable"); const gradleExecutable = inputOrNull("gradle-executable");