diff --git a/lib/main.js b/lib/main.js index 3f2281d..824c37a 100644 --- a/lib/main.js +++ b/lib/main.js @@ -44,7 +44,7 @@ run(); function resolveGradleExecutable(baseDirectory) { return __awaiter(this, void 0, void 0, function* () { const gradleVersion = inputOrNull("gradle-version"); - if (gradleVersion != null) { + if (gradleVersion != null && gradleVersion != "wrapper") { return path.resolve(yield provision.gradleVersion(gradleVersion)); } const gradleExecutable = inputOrNull("gradle-executable");