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 | |
parent | ce3b8cf5029fb4084fad0b87c984fb232333cebf (diff) | |
download | pf4j-a23546db746d5791aa39f02c8fe0538207e0f148.tar.gz pf4j-a23546db746d5791aa39f02c8fe0538207e0f148.zip |
Update module-info.java (#426)
-rw-r--r-- | pf4j/src/main/java/module-info.java | 6 | ||||
-rw-r--r-- | pom.xml | 4 |
2 files changed, 5 insertions, 5 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 @@ -45,9 +45,9 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.release>8</maven.compiler.release> - <slf4j.version>1.7.25</slf4j.version> + <slf4j.version>1.7.30</slf4j.version> <log4j.version>2.13.1</log4j.version> - <asm.version>7.1</asm.version> + <asm.version>9.1</asm.version> <junit.version>5.4.0</junit.version> <hamcrest.version>2.1</hamcrest.version> |