From bf26498bc4f43c6c9a9d03001a5101ad06e0d2bf Mon Sep 17 00:00:00 2001 From: Vladimir Orany Date: Mon, 9 Dec 2019 10:44:21 +0100 Subject: [PATCH] ignore version called "wrapper" fixes #5 --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }