mirror of
https://github.com/corda/corda.git
synced 2025-02-10 12:51:37 +00:00
fix windows publish regression
This commit is contained in:
parent
8022bd9733
commit
62570109f2
@ -118,7 +118,7 @@ model {
|
|||||||
if(platform.operatingSystem.name == "windows") {
|
if(platform.operatingSystem.name == "windows") {
|
||||||
def artifactName = platform.architecture.name == "i386" ? 'win32' : 'win64'
|
def artifactName = platform.architecture.name == "i386" ? 'win32' : 'win64'
|
||||||
|
|
||||||
task "extract${platform.name}"(type: Copy) {
|
task "extract${platform.name}${buildOption}"(type: Copy) {
|
||||||
from {
|
from {
|
||||||
tarTree(configurations."${platform.name}".find { it.name =~ artifactName })
|
tarTree(configurations."${platform.name}".find { it.name =~ artifactName })
|
||||||
}
|
}
|
||||||
@ -137,7 +137,7 @@ model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(platform.operatingSystem.name == "windows") {
|
if(platform.operatingSystem.name == "windows") {
|
||||||
dependsOn "extract${platform.name}"
|
dependsOn "extract${platform.name}${buildOption}"
|
||||||
args "win32=${libDir}/tools/win32",
|
args "win32=${libDir}/tools/win32",
|
||||||
"win64=${libDir}/tools/win64"
|
"win64=${libDir}/tools/win64"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user