aboutsummaryrefslogtreecommitdiff
path: root/jgvariant-ostree
diff options
context:
space:
mode:
Diffstat (limited to 'jgvariant-ostree')
-rw-r--r--jgvariant-ostree/pom.xml3
-rw-r--r--jgvariant-ostree/src/main/java/module-info.java8
2 files changed, 8 insertions, 3 deletions
diff --git a/jgvariant-ostree/pom.xml b/jgvariant-ostree/pom.xml
index 1ca9c09..7b200a9 100644
--- a/jgvariant-ostree/pom.xml
+++ b/jgvariant-ostree/pom.xml
@@ -44,14 +44,17 @@ SPDX-License-Identifier: LGPL-3.0-or-later
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.apiguardian</groupId>
<artifactId>apiguardian-api</artifactId>
+ <optional>true</optional>
</dependency>
<!-- OSTree compression support -->
diff --git a/jgvariant-ostree/src/main/java/module-info.java b/jgvariant-ostree/src/main/java/module-info.java
index 18daf94..cdf65dd 100644
--- a/jgvariant-ostree/src/main/java/module-info.java
+++ b/jgvariant-ostree/src/main/java/module-info.java
@@ -80,10 +80,12 @@
*/
module eu.mulk.jgvariant.ostree {
requires transitive eu.mulk.jgvariant.core;
- requires com.google.errorprone.annotations;
- requires org.apiguardian.api;
- requires org.jetbrains.annotations;
+
requires org.tukaani.xz;
+ requires static com.google.errorprone.annotations;
+ requires static org.apiguardian.api;
+ requires static org.jetbrains.annotations;
+
exports eu.mulk.jgvariant.ostree;
}