From 98fbb2db874910373ac921b62af1deda016a71ce Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 12 May 2015 10:46:47 -0600 Subject: [PATCH] add .exe suffix to binaryOption and lzma tools on Windows --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 7c8b3b9fca..0d0895b3b3 100644 --- a/build.gradle +++ b/build.gradle @@ -229,7 +229,7 @@ publishing { def publishBinSuffix = currentPlatform == "windows" ? "exe" : "bin" def binSuffix = currentPlatform == "windows" ? ".exe" : "" - artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject") { + artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject${binSuffix}") { name "binaryToObject" type publishBinSuffix extension binSuffix @@ -270,7 +270,7 @@ publishing { extension "a" } - artifact("${nativeBuildDir}/lzma/lzma") { + artifact("${nativeBuildDir}/lzma/lzma${binSuffix}") { name "lzma" type publishBinSuffix extension binSuffix