Skip to content

Commit

Permalink
final-assembly linkage error fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <nischal@web3labs.com>
  • Loading branch information
NickSneo committed Sep 10, 2024
1 parent 80aa523 commit 272228d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions constantine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,9 @@ task linuxArm64LibCopy(type: Copy) {

processResources.dependsOn macArmLibCopy, macLibCopy, linuxLibCopy, linuxArm64LibCopy

tasks.named('test', Test) {
description = 'Runs the Java tests'
useJUnit {
include '**/*Test.class'
}
environment 'LD_LIBRARY_PATH', "${System.env.LD_LIBRARY_PATH}:build/resources/main/linux-gnu-x86_64"

test {
// environment 'LD_LIBRARY_PATH', "${System.env.LD_LIBRARY_PATH}:build/resources/main/linux-gnu-x86_64"
systemProperty 'jna.library.path', file('build/resources/main/linux-gnu-x86_64').absolutePath
dependsOn macArmLibCopy, macLibCopy, linuxLibCopy, linuxArm64LibCopy
}

Expand Down

0 comments on commit 272228d

Please sign in to comment.