mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Merge pull request #330 from sgoings/master
Enable individual platform/arch builds by watching for platform/arch
This commit is contained in:
commit
ba808a8589
37
build.gradle
37
build.gradle
@ -15,24 +15,31 @@ apply plugin: 'artifactory-publish'
|
|||||||
|
|
||||||
model {
|
model {
|
||||||
platforms {
|
platforms {
|
||||||
create("linux-x86_64") {
|
if(project.hasProperty("platform") && project.hasProperty("arch")) {
|
||||||
operatingSystem "linux"
|
create("${platform}-${arch}") {
|
||||||
architecture "x86_64"
|
operatingSystem "${platform}"
|
||||||
}
|
architecture "${arch}"
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
create("linux-x86_64") {
|
||||||
|
operatingSystem "linux"
|
||||||
|
architecture "x86_64"
|
||||||
|
}
|
||||||
|
|
||||||
create("linux-i386") {
|
create("linux-i386") {
|
||||||
operatingSystem "linux"
|
operatingSystem "linux"
|
||||||
architecture "i386"
|
architecture "i386"
|
||||||
}
|
}
|
||||||
|
|
||||||
create("windows-x86_64") {
|
create("windows-x86_64") {
|
||||||
operatingSystem "windows"
|
operatingSystem "windows"
|
||||||
architecture "x86_64"
|
architecture "x86_64"
|
||||||
}
|
}
|
||||||
|
|
||||||
create("windows-i386") {
|
create("windows-i386") {
|
||||||
operatingSystem "windows"
|
operatingSystem "windows"
|
||||||
architecture "i386"
|
architecture "i386"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user