Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Java: continue to use Node artifacts for the "testable" jar
Browse files Browse the repository at this point in the history
These names changed to allow for Node cross-compilation, but the
testable jar still supports only one arch per platform.
  • Loading branch information
jrose-signal committed Jun 25, 2021
1 parent 1e3ea01 commit 197c382
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ffi/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ task testableJar(type: Jar) {

def extraResources = ['libzkgroup.dll', 'libzkgroup.dylib']
def extraResourcesDir = 'src/otherPlatformLibraries/resources'
def urls = extraResources.collect { name ->
'https://github.com/signalapp/zkgroup/releases/download/v' + project.version + '/' + name
}

doFirst {
mkdir extraResourcesDir
download {
src urls
dest extraResourcesDir
extraResources.each { name ->
def artifact = name.replace('libzkgroup', 'libzkgroup-x64')
download {
src 'https://github.com/signalapp/zkgroup/releases/download/v' + project.version + '/' + artifact
dest extraResourcesDir + '/' + name
}
}
}
}
Expand Down

0 comments on commit 197c382

Please sign in to comment.