diff --git a/src/main.ts b/src/main.ts index 62dbeb1..680b078 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,7 +39,7 @@ run(); async function resolveGradleExecutable(baseDirectory: string): Promise { const gradleVersion = inputOrNull("gradle-version"); - if (gradleVersion != null) { + if (gradleVersion != null && gradleVersion != "wrapper") { return path.resolve(await provision.gradleVersion(gradleVersion)) }