Skip to content

Commit 7657577

Browse files
committed
Add JNA 5.12.1 dependency as Version 4.x could not detect aarch64
1 parent f62f21b commit 7657577

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Access to wkhtmltopdf is performed via JNA, exposed through a Java-friendly laye
55

66
This fork:
77
- Upgrades wkhtmltopdf version to 0.12.6
8-
- adds ARM64 support for Linux
8+
- adds ARM support for Linux
9+
- Upgrades to JNA 5.12.1 as previous versions could not detect aarch64
910
- drops 32-bit support entirely
1011

1112
## Get it

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ uploadArchives {
9292
}
9393

9494
dependencies {
95-
compile 'net.java.dev.jna:jna:[4.0.0,5.0.0)'
95+
compile 'net.java.dev.jna:jna:[5.12,)'
9696
testCompile group: 'junit', name: 'junit', version: '4.12'
9797
}

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>com.github.MagentaHealth</groupId>
7+
<artifactId>htmltopdf-java</artifactId>
8+
<version>1.0.9.1</version>
9+
10+
<dependencies>
11+
<dependency>
12+
<groupId>junit</groupId>
13+
<artifactId>junit</artifactId>
14+
<version>4.12</version>
15+
<scope>test</scope>
16+
</dependency>
17+
<dependency>
18+
<groupId>net.java.dev.jna</groupId>
19+
<artifactId>jna</artifactId>
20+
<version>[5.12,)</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>net.java.dev.jna</groupId>
24+
<artifactId>jna-platform</artifactId>
25+
<version>[5.12,)</version>
26+
</dependency>
27+
</dependencies>
28+
</project>

0 commit comments

Comments
 (0)