diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2021-04-04 12:23:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 12:23:38 +0300 |
commit | a23546db746d5791aa39f02c8fe0538207e0f148 (patch) | |
tree | 3e9e188a5911a774cd4a2114a7d224652577e936 /pf4j | |
parent | ce3b8cf5029fb4084fad0b87c984fb232333cebf (diff) | |
download | pf4j-a23546db746d5791aa39f02c8fe0538207e0f148.tar.gz pf4j-a23546db746d5791aa39f02c8fe0538207e0f148.zip |
Update module-info.java (#426)
Diffstat (limited to 'pf4j')
-rw-r--r-- | pf4j/src/main/java/module-info.java | 6 |
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 |