Enable individual platform/arch builds by watching for platform/arch

This commit is contained in:
Seth Goings 2014-08-20 16:17:39 -06:00
parent c758da3fa5
commit 525a350853

View File

@ -15,6 +15,12 @@ apply plugin: 'artifactory-publish'
model {
platforms {
if(project.hasProperty("platform") && project.hasProperty("arch")) {
create("${platform}-${arch}") {
operatingSystem "${platform}"
architecture "${arch}"
}
} else {
create("linux-x86_64") {
operatingSystem "linux"
architecture "x86_64"
@ -35,6 +41,7 @@ model {
architecture "i386"
}
}
}
tasks {
platforms.each { platform ->