From a23546db746d5791aa39f02c8fe0538207e0f148 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Sun, 4 Apr 2021 12:23:38 +0300 Subject: [PATCH] Update module-info.java (#426) --- pf4j/src/main/java/module-info.java | 6 +++--- 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 diff --git a/pom.xml b/pom.xml index 398ff59..5b597b0 100644 --- a/pom.xml +++ b/pom.xml @@ -45,9 +45,9 @@ UTF-8 8 - 1.7.25 + 1.7.30 2.13.1 - 7.1 + 9.1 5.4.0 2.1