Skip to content

Commit

Permalink
Java: Fix resources preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Oct 31, 2023
1 parent ba3e4bb commit a0fab13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions java/dfp-math/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ compileJava.dependsOn ":java:nativeWrappers:makeNativeWrappersDfpMath"
def versionSuffix = versioning()["suffix"]

task copyNativeDfpMathResourcesMuslToAmd64(type: Copy) {
from "$rootDir/native/bin/linux/musl"
from "$rootDir/native/bin/linux/musl-gcc"
into "$rootDir/native/binmathJava/resources_com_epam_deltix_dfpmath/linux/amd64"
include "**/*ddfpmath${versionSuffix}.so.zst"
}

task copyNativeDfpMathResources(type: Copy, dependsOn: copyNativeDfpMathResourcesMuslToAmd64) {
from "$rootDir/native/bin"
into "$rootDir/native/binmathJava/resources_com_epam_deltix_dfpmath"
include "**/*ddfp${versionSuffix}.dylib.zst"
include "**/*ddfp${versionSuffix}.so.zst"
include "**/*ddfp${versionSuffix}.dll.zst"
include "**/*ddfpmath${versionSuffix}.dylib.zst"
include "**/*ddfpmath${versionSuffix}.so.zst"
include "**/*ddfpmath${versionSuffix}.dll.zst"
exclude 'linux/amd64/**'
exclude 'linux/musl-gcc/**'
}
Expand Down
2 changes: 1 addition & 1 deletion java/dfpNativeTests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ compileJava.dependsOn ":java:nativeWrappers:makeNativeWrappersDfp"
def versionSuffix = versioning()["suffix"]

task copyNativeDfpResourcesMuslToAmd64(type: Copy) {
from "$rootDir/native/bin/linux/musl"
from "$rootDir/native/bin/linux/musl-gcc"
into "$rootDir/native/binJava/resources_com_epam_deltix_dfp/linux/amd64"
include "**/*ddfp${versionSuffix}.so.zst"
}
Expand Down

0 comments on commit a0fab13

Please sign in to comment.