summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2017-04-13 00:17:50 -0700
committerGitHub <noreply@github.com>2017-04-13 00:17:50 -0700
commitfb3a281755d1c8a113a796f1850139e8408f56b7 (patch)
tree5706f79f1590d2b494262b6108766c2637bd49a6 /core
parent215a9b2df9f1bcbdc24cb1378d611955cc93c0e0 (diff)
Build: Switch jna dependency to an elastic version (#24081)
This new version of jna is rebuilt from the official release of jna, but with native libs linked against older glibc in order to support all platforms elasticsearch supports. closes #23640
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle3
-rw-r--r--core/licenses/jna-4.4.0.jar.sha12
2 files changed, 3 insertions, 2 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 8ce1e02ecd..72aaca6da1 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -86,7 +86,8 @@ dependencies {
// to bridge dependencies that are still on Log4j 1 to Log4j 2
compile "org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}", optional
- compile "net.java.dev.jna:jna:${versions.jna}"
+ // repackaged jna with native bits linked against all elastic supported platforms
+ compile "org.elasticsearch:jna:${versions.jna}"
if (isEclipse == false || project.path == ":core-tests") {
testCompile("org.elasticsearch.test:framework:${version}") {
diff --git a/core/licenses/jna-4.4.0.jar.sha1 b/core/licenses/jna-4.4.0.jar.sha1
index 9655b2c92e..f760fe11e1 100644
--- a/core/licenses/jna-4.4.0.jar.sha1
+++ b/core/licenses/jna-4.4.0.jar.sha1
@@ -1 +1 @@
-cb208278274bf12ebdb56c61bd7407e6f774d65a \ No newline at end of file
+6edc9b4514969d768039acf43f04210b15658cd7 \ No newline at end of file