From e24db75f08ec9989c514295954f6baeb667944e9 Mon Sep 17 00:00:00 2001 From: Thad House Date: Thu, 3 Aug 2017 14:24:02 -0700 Subject: [PATCH] Build updates to newest version of plugins and gradle, along with config file (#13) --- build.gradle | 4 ++-- config.gradle | 14 +++++++------- gradle/wrapper/gradle-wrapper.jar | Bin 54712 -> 54712 bytes gradle/wrapper/gradle-wrapper.properties | 4 ++-- publish.gradle | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 7746b73ebe..5e45b27dc7 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } } dependencies { - classpath 'gradle.plugin.edu.wpi.first:native-utils:1.2.3' + classpath 'gradle.plugin.edu.wpi.first:native-utils:1.2.9' classpath 'gradle.plugin.edu.wpi.first.wpilib.versioning:wpilib-version-plugin:1.6' } } @@ -114,5 +114,5 @@ model { apply from: 'publish.gradle' task wrapper(type: Wrapper) { - gradleVersion = '4.0.1' + gradleVersion = '4.0.2' } diff --git a/config.gradle b/config.gradle index 2acd9d2940..1ac9119c03 100644 --- a/config.gradle +++ b/config.gradle @@ -22,7 +22,7 @@ def mac32BitArg = '-m32' def buildAll = project.hasProperty('buildAll') -def windows64PlatformDetect = { config-> +def windows64PlatformDetect = { def arch = System.getProperty("os.arch") def isWin = OperatingSystem.current().isWindows() if (buildAll) { @@ -32,7 +32,7 @@ def windows64PlatformDetect = { config-> } } -def windows32PlatformDetect = { config-> +def windows32PlatformDetect = { def arch = System.getProperty("os.arch") def isWin = OperatingSystem.current().isWindows() if (buildAll) { @@ -42,7 +42,7 @@ def windows32PlatformDetect = { config-> } } -def linux32IntelPlatformDetect = { config-> +def linux32IntelPlatformDetect = { def arch = System.getProperty("os.arch") def isLinux = OperatingSystem.current().isLinux() def isIntel = (arch == 'amd64' || arch == 'i386') @@ -53,7 +53,7 @@ def linux32IntelPlatformDetect = { config-> } } -def linux64IntelPlatformDetect = { config-> +def linux64IntelPlatformDetect = { def arch = System.getProperty("os.arch") def isLinux = OperatingSystem.current().isLinux() def isIntel = (arch == 'amd64' || arch == 'i386') @@ -64,13 +64,13 @@ def linux64IntelPlatformDetect = { config-> } } -def linuxArmPlatformDetect = { config-> +def linuxArmPlatformDetect = { def arch = System.getProperty("os.arch") def isIntel = (arch == 'amd64' || arch == 'i386') return OperatingSystem.current().isLinux() && !isIntel } -def mac64PlatformDetect = { config-> +def mac64PlatformDetect = { def arch = System.getProperty("os.arch") def isMac = OperatingSystem.current().isMacOsX() if (buildAll) { @@ -80,7 +80,7 @@ def mac64PlatformDetect = { config-> } } -def mac32PlatformDetect = { config-> +def mac32PlatformDetect = { def arch = System.getProperty("os.arch") def isMac = OperatingSystem.current().isMacOsX() if (buildAll) { diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e28164c1a17a730f496e1de8b2c626b41922e05f..5b9ba2d84122578f28e5a17b6a442c71e94231af 100644 GIT binary patch delta 76 zcmdn7nt8`+<_YF39P!#l6Ro4!J{El}Vq};gwQ-xxVV1)w%-)l~9k%9TVhHeN=ct|# ad1A8l5r44a&3#9132=Z^fQ1XLdH?`Xf*qp( delta 76 zcmdn7nt8`+<_YF3H&nYzCt63deJc7`#K