From f513a09c528a92777d6f2ed2ae1e188f2c23bc6a Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Fri, 21 Mar 2014 13:58:19 +0100 Subject: [PATCH] adapt native build for new gradle versions (targetPlatforms -> model.platforms) --- jme3-bullet-native/build.gradle | 50 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/jme3-bullet-native/build.gradle b/jme3-bullet-native/build.gradle index 130249142..d3fc1937f 100644 --- a/jme3-bullet-native/build.gradle +++ b/jme3-bullet-native/build.gradle @@ -50,35 +50,37 @@ sourceSets { } // Set of target platforms, will be available based on build system -targetPlatforms { +model { + platforms{ // osx_universal { // TODO: universal binary doesn't work? // architecture 'x86_64' // architecture 'x86' // operatingSystem 'osx' // } - osx_x86 { - architecture "x86" - operatingSystem "osx" - } - osx_x64 { - architecture "x86_64" - operatingSystem "osx" - } - linux_x86 { - architecture "x86" - operatingSystem "linux" - } - linux_x86_64 { - architecture "x86_64" - operatingSystem "linux" - } - windows_x86 { - architecture "x86" - operatingSystem "windows" - } - windows_x86_64 { - architecture "x86_64" - operatingSystem "windows" + osx_x86 { + architecture "x86" + operatingSystem "osx" + } + osx_x64 { + architecture "x86_64" + operatingSystem "osx" + } + linux_x86 { + architecture "x86" + operatingSystem "linux" + } + linux_x86_64 { + architecture "x86_64" + operatingSystem "linux" + } + windows_x86 { + architecture "x86" + operatingSystem "windows" + } + windows_x86_64 { + architecture "x86_64" + operatingSystem "windows" + } } }