Skip to content

Commit

Permalink
Tweak the run target for Java modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmanm committed Dec 31, 2024
1 parent 56c1d36 commit 78d52de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,12 @@ docs :

run : bmakelib.error-if-blank( VERSION )
run : gradle( shadowJar )
cat $(root.forth)bjForth.forth - | java -jar $(root.build)bjForth-$(VERSION).jar
@cat $(root.forth)bjForth.forth - \
| java \
--add-opens=java.base/java.lang=ALL-UNNAMED \
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-opens=java.base/java.util=ALL-UNNAMED \
--add-opens=java.base/java.util.stream=ALL-UNNAMED \
-jar $(root.build)bjForth-$(VERSION).jar

0 comments on commit 78d52de

Please sign in to comment.