diff options
Diffstat (limited to 'sdklauncher')
-rw-r--r-- | sdklauncher/build.gradle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdklauncher/build.gradle b/sdklauncher/build.gradle index 61b41e1..6c64f6d 100644 --- a/sdklauncher/build.gradle +++ b/sdklauncher/build.gradle @@ -19,17 +19,17 @@ sources { sdk { windows { - item( { getExeName("windows") } ) { + item( { getExeName("windows32SdkLauncherExecutable") } ) { into 'lib' name 'SDK Manager.exe' - builtBy 'sdkLauncherExecutable' + builtBy 'windows32SdkLauncherExecutable' } } } -def getExeName(String platform) { +def getExeName(String name) { // binaries will return a set of binaries - def binaries = executables.sdkLauncher.binaries.matching { it.name == "sdkLauncherExecutable" } + def binaries = executables.sdkLauncher.binaries.matching { it.name == name } // calling .exeFile on the set returns an array with the result from each item in the set... return binaries.executableFile.get(0) } |