gradle-build-action/src/gradlew.ts

12 lines
251 B
TypeScript
Raw Normal View History

2019-09-23 10:10:49 +00:00
const IS_WINDOWS = process.platform === "win32";
export function wrapperFilename(): string {
return IS_WINDOWS ? "gradlew.bat" : "gradlew";
2019-09-21 14:01:53 +00:00
}
2019-09-23 10:10:49 +00:00
export function installScriptFilename(): string {
return IS_WINDOWS ? "gradle.bat" : "gradle";
2019-09-21 14:01:53 +00:00
}