gradle-build-action/src/gradlew.ts
Paul Merlin a31de8476d Format
2020-06-13 13:44:30 +02:00

9 lines
246 B
TypeScript

const IS_WINDOWS = process.platform === 'win32'
export function wrapperFilename(): string {
return IS_WINDOWS ? 'gradlew.bat' : 'gradlew'
}
export function installScriptFilename(): string {
return IS_WINDOWS ? 'gradle.bat' : 'gradle'
}