aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/module-info.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pf4j/src/main/java/module-info.java b/pf4j/src/main/java/module-info.java
index 754b9b8..55b6169 100644
--- a/pf4j/src/main/java/module-info.java
+++ b/pf4j/src/main/java/module-info.java
@@ -26,14 +26,14 @@ module org.pf4j {
// provides javax.annotation
requires java.compiler;
- // provided by the ASM library
- requires org.objectweb.asm;
+ // provided by the ASM library, use "requires static" since it's optional
+ requires static org.objectweb.asm;
// The SLF4J library currently does not provide a module.
// Version 1.8 provides a module called "org.slf4j". But this version is
// currently in beta stage. Therefore I'm not sure, if we already like to
// use it.
- requires slf4j.api;
+ requires org.slf4j;
// The java-semver library currently does not provide a module.
// Maybe we should send them a pull request, that at least they provide an