Skip to content

Commit

Permalink
Issue #422: Adding optional JNA dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mabe02 committed Jun 14, 2020
1 parent c1e66e4 commit 0e14e59
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@
</scm>

<dependencies>
<!-- Optional JNA dependencies -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.5.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.5.0</version>
<optional>true</optional>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
1 change: 1 addition & 0 deletions src/main/java9/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
exports com.googlecode.lanterna.terminal.virtual;

requires static java.desktop;
requires static com.sun.jna;
}

0 comments on commit 0e14e59

Please sign in to comment.