aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2021-02-23 13:47:33 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2021-02-23 13:47:33 +0200
commitf01ddddf1bab4ffbedba1240c679988447527395 (patch)
tree7100d47d24d686308d007f877a6d4cb368e61376
parent7811216dbfe8cf92295fec92e15d1b45196c1e30 (diff)
downloadpf4j-f01ddddf1bab4ffbedba1240c679988447527395.tar.gz
pf4j-f01ddddf1bab4ffbedba1240c679988447527395.zip
Add static for asm dependency#405
-rw-r--r--pf4j/src/main/java/module-info.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pf4j/src/main/java/module-info.java b/pf4j/src/main/java/module-info.java
index b11792f..55b6169 100644
--- a/pf4j/src/main/java/module-info.java
+++ b/pf4j/src/main/java/module-info.java
@@ -26,8 +26,8 @@ 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