зеркало из https://github.com/github/licensed.git
Fix gradlew location when trying to location a gradle executable
This commit is contained in:
Родитель
7aa963664c
Коммит
989afebf9d
|
@ -66,7 +66,7 @@ module Licensed
|
|||
return @executable if defined?(@executable)
|
||||
|
||||
@executable = begin
|
||||
gradlew = File.join(config.pwd, "gradlew")
|
||||
gradlew = File.join(config.root, "gradlew")
|
||||
return gradlew if File.executable?(gradlew)
|
||||
|
||||
"gradle" if Licensed::Shell.tool_available?("gradle")
|
||||
|
|
Загрузка…
Ссылка в новой задаче