Skip to content

Commit

Permalink
export provider packages, allow reflection by org.slf4j
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Feb 5, 2024
1 parent 8c4ea8f commit da91e4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions slf4j-jdk14/src/main/java9/module-info.java
Expand Up @@ -2,5 +2,8 @@
requires org.slf4j;
requires java.logging;
provides org.slf4j.spi.SLF4JServiceProvider with org.slf4j.jul.JULServiceProvider;

exports org.slf4j.jul;
opens org.slf4j.jul to org.slf4j;
}

3 changes: 3 additions & 0 deletions slf4j-nop/src/main/java9/module-info.java
@@ -1,4 +1,7 @@
module org.slf4j.nop {
requires org.slf4j;
provides org.slf4j.spi.SLF4JServiceProvider with org.slf4j.nop.NOPServiceProvider;

exports org.slf4j.nop;
opens org.slf4j.nop to org.slf4j;
}
4 changes: 3 additions & 1 deletion slf4j-simple/src/main/java9/module-info.java
@@ -1,4 +1,6 @@
module org.slf4j.simple {
module org.slf4j.simple {
requires org.slf4j;
provides org.slf4j.spi.SLF4JServiceProvider with org.slf4j.simple.SimpleServiceProvider;
exports org.slf4j.simple;
opens org.slf4j.simple to org.slf4j;
}

0 comments on commit da91e4f

Please sign in to comment.