[annotations] force java 7 compilation for annotations

Reviewed By: dkgi, jvillard

Differential Revision: D4388886

fbshipit-source-id: fe244fd
master
Sam Blackshear 8 years ago committed by Facebook Github Bot
parent d86f777132
commit a87b64f384

@ -21,7 +21,7 @@ all: $(ANNOTATIONS_JAR)
$(ANNOTATIONS_JAR): $(ANNOT_SOURCES)
mkdir -p $(ANNOT_CLASSES)
javac -cp $(JSR_JAR) $(ANNOT_SOURCES) -d $(ANNOT_CLASSES)
javac -source 7 -target 7 -cp $(JSR_JAR) $(ANNOT_SOURCES) -d $(ANNOT_CLASSES)
cd $(ANNOT_CLASSES) && jar cvf $(ANNOTATIONS_JAR) com
clean:

Loading…
Cancel
Save