ignore version called "wrapper"

fixes #5
This commit is contained in:
Vladimir Orany 2019-12-09 10:44:21 +01:00 committed by GitHub
parent 15e064da79
commit bf26498bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ run();
async function resolveGradleExecutable(baseDirectory: string): Promise<string> {
const gradleVersion = inputOrNull("gradle-version");
if (gradleVersion != null) {
if (gradleVersion != null && gradleVersion != "wrapper") {
return path.resolve(await provision.gradleVersion(gradleVersion))
}