mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Package: Fix issue with raspi build
Fix packaging issue which sometimes caused issues with creating the raspi package on Windows (and other environments where a recent ./gradlew :desktop:build was not run recently).
This commit is contained in:
parent
31b40d3fa6
commit
0109d92aa0
@ -169,9 +169,8 @@ task retrieveAndExtractJavaBinaries {
|
||||
task packageInstallers {
|
||||
description 'Call jpackage to prepare platform-specific binaries for this platform'
|
||||
dependsOn 'retrieveAndExtractJavaBinaries'
|
||||
// Clean all previous artefacts and create a fresh shadowJar for the installers
|
||||
dependsOn rootProject.clean
|
||||
dependsOn ':desktop:shadowJar'
|
||||
dependsOn ':desktop:build' // Full build needed for "desktop/build/app/lib", used for raspi package
|
||||
|
||||
doLast {
|
||||
String jPackageFilePath = retrieveAndExtractJavaBinaries.property('jpackageFilePath')
|
||||
@ -211,8 +210,7 @@ task packageInstallers {
|
||||
String appVersion = version.replaceAll("-SNAPSHOT", "")
|
||||
println "Packaging Bisq version ${appVersion}"
|
||||
|
||||
// zip jar lib for Raspberry Pi only on macOS as there are path issues on Windows and it is only needed once
|
||||
// for the release
|
||||
// zip jar lib for Raspberry Pi only on macOS as it is only needed once for the release
|
||||
if (Os.isFamily(Os.FAMILY_MAC)) {
|
||||
println "Zipping jar lib for raspberry pi"
|
||||
ant.zip(basedir: "${project(':desktop').buildDir}/app/lib",
|
||||
|
Loading…
Reference in New Issue
Block a user