Merge pull request #330 from sgoings/master

Enable individual platform/arch builds by watching for platform/arch
This commit is contained in:
Joshua Warner 2014-08-20 18:27:06 -06:00
commit ba808a8589

View File

@ -15,24 +15,31 @@ apply plugin: 'artifactory-publish'
model {
platforms {
create("linux-x86_64") {
operatingSystem "linux"
architecture "x86_64"
}
if(project.hasProperty("platform") && project.hasProperty("arch")) {
create("${platform}-${arch}") {
operatingSystem "${platform}"
architecture "${arch}"
}
} else {
create("linux-x86_64") {
operatingSystem "linux"
architecture "x86_64"
}
create("linux-i386") {
operatingSystem "linux"
architecture "i386"
}
create("linux-i386") {
operatingSystem "linux"
architecture "i386"
}
create("windows-x86_64") {
operatingSystem "windows"
architecture "x86_64"
}
create("windows-x86_64") {
operatingSystem "windows"
architecture "x86_64"
}
create("windows-i386") {
operatingSystem "windows"
architecture "i386"
create("windows-i386") {
operatingSystem "windows"
architecture "i386"
}
}
}