Merge pull request #45579 from zaevi/add_scons_ext
add search extensions for Scons' path
This commit is contained in:
commit
74091a1974
|
@ -68,7 +68,7 @@ android {
|
|||
File sconsExecutableFile = null
|
||||
def sconsName = "scons"
|
||||
def sconsExts = (org.gradle.internal.os.OperatingSystem.current().isWindows()
|
||||
? [".bat", ".exe"]
|
||||
? [".bat", ".cmd", ".ps1", ".exe"]
|
||||
: [""])
|
||||
logger.lifecycle("Looking for $sconsName executable path")
|
||||
for (ext in sconsExts) {
|
||||
|
|
Loading…
Reference in New Issue