Compute a library path from the corresponding linker task
Previously we were repeating the library path twice, but that's not good for long-term maintenance.
This commit is contained in:
parent
22421c6882
commit
50bed1cbe8
|
@ -94,8 +94,8 @@ model {
|
|||
}
|
||||
|
||||
tasks.test {
|
||||
dependsOn xlator_testSharedLibrary
|
||||
// TODO: compute path on following line from 'xlator_test' library properties somehow
|
||||
systemProperty 'java.library.path', "$buildDir/libs/xlator_test/shared"
|
||||
def lib = linkXlator_testSharedLibrary
|
||||
dependsOn lib
|
||||
systemProperty 'java.library.path', lib.destinationDir
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue