In my project I have:
project.model {
buildTypes {
debug
release
}
platforms {
Win32 {
architecture 'i386'
operatingSystem 'windows'
}
x64 {
architecture 'x64'
operatingSystem 'windows'
}
OS_X {
architecture 'x86_64'
operatingSystem 'mac os x'
}
Linux_x86 {
architecture 'i386'
operatingSystem 'linux'
}
Linux_x64 {
architecture 'amd64'
operatingSystem 'linux'
}
}
…
This used to create tasks with the platform and build type prepended, such as “linux_x64ReleaseMainSharedLibrary”, on OS X I woudl get “oS_xReleaseMainSharedLibrary” but now on OS X I just get “releaseMainSharedLibrary” without the platform prepended, yet the same project on Linux has still has the platform prepended.