Skip to content

Commit

Permalink
修复在使用 JDK9+ 的模块功能 时,扩展包无法使用 SPI 完成自动配置的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
周旭 committed Mar 26, 2022
1 parent 1b78290 commit 4be6f2f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jsonkit-fastjson/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
requires data.core;
requires data.fastjson;
exports com.ejlchina.json.fastjson;

provides com.ejlchina.json.JSONFactory with com.ejlchina.json.fastjson.FastjsonFactory;

}
3 changes: 3 additions & 0 deletions jsonkit-gson/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
requires data.core;
requires data.gson;
exports com.ejlchina.json.gson;

provides com.ejlchina.json.JSONFactory with com.ejlchina.json.gson.GsonFactory;

}
3 changes: 3 additions & 0 deletions jsonkit-jackson/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
requires data.core;
requires data.jackson;
exports com.ejlchina.json.jackson;

provides com.ejlchina.json.JSONFactory with com.ejlchina.json.jackson.JacksonFactory;

}

0 comments on commit 4be6f2f

Please sign in to comment.