Skip to content

Commit

Permalink
feat: add module-info.java
Browse files Browse the repository at this point in the history
Define module name "jmyspell.core"
  • Loading branch information
miurahr committed May 16, 2024
1 parent c171a95 commit afe142c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This repository is a forked jmyspell-core project used for OmegaT project.
- Use UTF-8 for the code
- Use LF for line terminator character
- Migrate to a Gradle build system
- Migrate to Java 11
- Add `module-info.java`
- Fix several obvious bad coding styles
- constant ErrorInfo.MAX_SUGGESTIONS to be final
- constant Utils.XPRODUCT to be final
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module jmyspell.core {
requires java.base;
exports org.dts.spell;
exports org.dts.spell.dictionary;
exports org.dts.spell.dictionary.myspell;
exports org.dts.spell.dictionary.myspell.wordmaps;
exports org.dts.spell.event;
exports org.dts.spell.finder;
exports org.dts.spell.filter;
exports org.dts.spell.tokenizer;
}

0 comments on commit afe142c

Please sign in to comment.