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
This commit is contained in:
Ryan Ernst 2017-04-13 00:17:50 -07:00 committed by GitHub
parent 215a9b2df9
commit fb3a281755
3 changed files with 4 additions and 3 deletions

View File

@ -96,7 +96,7 @@ public class PluginBuildPlugin extends BuildPlugin {
provided "com.vividsolutions:jts:${project.versions.jts}"
provided "org.apache.logging.log4j:log4j-api:${project.versions.log4j}"
provided "org.apache.logging.log4j:log4j-core:${project.versions.log4j}"
provided "net.java.dev.jna:jna:${project.versions.jna}"
provided "org.elasticsearch:jna:${project.versions.jna}"
}
}

View File

@ -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}") {

View File

@ -1 +1 @@
cb208278274bf12ebdb56c61bd7407e6f774d65a
6edc9b4514969d768039acf43f04210b15658cd7