adapt native build for new gradle versions (targetPlatforms -> model.platforms)

experimental
Normen Hansen 11 years ago
parent d485f12a4f
commit f513a09c52
  1. 50
      jme3-bullet-native/build.gradle

@ -50,35 +50,37 @@ sourceSets {
} }
// Set of target platforms, will be available based on build system // Set of target platforms, will be available based on build system
targetPlatforms { model {
platforms{
// osx_universal { // TODO: universal binary doesn't work? // osx_universal { // TODO: universal binary doesn't work?
// architecture 'x86_64' // architecture 'x86_64'
// architecture 'x86' // architecture 'x86'
// operatingSystem 'osx' // operatingSystem 'osx'
// } // }
osx_x86 { osx_x86 {
architecture "x86" architecture "x86"
operatingSystem "osx" operatingSystem "osx"
} }
osx_x64 { osx_x64 {
architecture "x86_64" architecture "x86_64"
operatingSystem "osx" operatingSystem "osx"
} }
linux_x86 { linux_x86 {
architecture "x86" architecture "x86"
operatingSystem "linux" operatingSystem "linux"
} }
linux_x86_64 { linux_x86_64 {
architecture "x86_64" architecture "x86_64"
operatingSystem "linux" operatingSystem "linux"
} }
windows_x86 { windows_x86 {
architecture "x86" architecture "x86"
operatingSystem "windows" operatingSystem "windows"
} }
windows_x86_64 { windows_x86_64 {
architecture "x86_64" architecture "x86_64"
operatingSystem "windows" operatingSystem "windows"
}
} }
} }

Loading…
Cancel
Save