Replaced custom built JNA by official JNA distribution. (#1003)

Signed-off-by: Xue Zhou <xuezhou@amazon.com>
This commit is contained in:
xuezhou25 2021-08-03 10:52:53 -07:00 committed by GitHub
parent 0fd14e8c3c
commit 7d18eaf3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@ dependencies {
api 'com.netflix.nebula:nebula-publishing-plugin:4.4.4'
api 'com.netflix.nebula:gradle-info-plugin:7.1.3'
api 'org.apache.rat:apache-rat:0.11'
api "org.elasticsearch:jna:5.5.0"
api "net.java.dev.jna:jna:5.5.0"
api 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
api 'de.thetaphi:forbiddenapis:3.0'
api 'com.avast.gradle:gradle-docker-compose-plugin:0.12.1'

View File

@ -175,7 +175,7 @@ class PluginBuildPlugin implements Plugin<Project> {
compileOnly "org.locationtech.jts:jts-core:${project.versions.jts}"
compileOnly "org.apache.logging.log4j:log4j-api:${project.versions.log4j}"
compileOnly "org.apache.logging.log4j:log4j-core:${project.versions.log4j}"
compileOnly "org.elasticsearch:jna:${project.versions.jna}"
compileOnly "net.java.dev.jna:jna:${project.versions.jna}"
}
}

View File

@ -131,8 +131,8 @@ dependencies {
api "org.apache.logging.log4j:log4j-api:${versions.log4j}"
api "org.apache.logging.log4j:log4j-core:${versions.log4j}", optional
// repackaged jna with native bits linked against all supported platforms
api "org.elasticsearch:jna:${versions.jna}"
// jna
api "net.java.dev.jna:jna:${versions.jna}"
testImplementation(project(":test:framework")) {
// tests use the locally compiled version of server

View File

@ -1 +1 @@
ade077cbb2618a18bfc6c335413b2b7163d97601
0e0845217c4907822403912ad6828d8e0b256208