diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy index 4b3867a985dbf..a5845566215b9 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy @@ -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}" } } diff --git a/core/build.gradle b/core/build.gradle index 8ce1e02ecd4ce..72aaca6da1c94 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 9655b2c92e8f8..f760fe11e11ee 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