Skip to content

Commit

Permalink
Use java source at least 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxik committed Nov 15, 2023
1 parent 8aed51f commit 5ae2b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ udpipe_java.cpp: udpipe_java.i ../common/udpipe.i
swig $(SWIG_FLAGS) -java -package cz.cuni.mff.ufal.udpipe -outdir $(call platform_name,cz/cuni/mff/ufal/udpipe) -o $@ $<

udpipe.jar: udpipe_java.cpp
javac -source 6 -Xlint:-options $(wildcard cz/cuni/mff/ufal/udpipe/*.java)
javac -source 7 -Xlint:-options $(wildcard cz/cuni/mff/ufal/udpipe/*.java)
jar cf $@ $(patsubst %.java,%.class,$(wildcard cz/cuni/mff/ufal/udpipe/*.java))

.PHONY: clean
Expand Down

0 comments on commit 5ae2b75

Please sign in to comment.