Skip to content

Commit

Permalink
Add Java flags for JDK 10 & 11. Addresses #5
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiwiec committed Sep 27, 2019
1 parent c440026 commit 30665fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include properties.mk

appName = `grep entry manifest.xml | sed 's/.*entry="\([^"]*\).*/\1/'`
devices = `grep 'iq:product id' manifest.xml | sed 's/.*iq:product id="\([^"]*\).*/\1/'`
JAVA_OPTIONS = JDK_JAVA_OPTIONS="--add-modules=java.xml.bind"

build:
$(SDK_HOME)/bin/monkeyc \
Expand All @@ -26,6 +27,7 @@ buildall:
run: build
@$(SDK_HOME)/bin/connectiq &&\
sleep 3 &&\
$(JAVA_OPTIONS) \
$(SDK_HOME)/bin/monkeydo bin/$(appName).prg $(DEVICE)

deploy: build
Expand Down

0 comments on commit 30665fe

Please sign in to comment.