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