diff options
author | Max Kellermann <max@musicpd.org> | 2018-05-22 12:37:01 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-05-22 12:37:01 +0200 |
commit | bc14a6038ee1e2b749470b4011abddc14367197d (patch) | |
tree | 7620f98bd4e1ca6c469a2047ceef1e3770ed0bf9 | |
parent | 626329a1cce84e7668b9e3cdb34186e702e4a0c5 (diff) |
Makefile.am: invoke javac with source/target 1.6
Fixes:
```
error: Source option 5 is no longer supported. Use 6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.
```
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 266a61c6a..d5416681a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -330,7 +330,7 @@ android/build/gen/org/musicpd/R.java: android/build/resources.apk android/build/classes.dex: $(JAVA_SOURCE_PATHS) android/build/gen/org/musicpd/R.java @$(MKDIR_P) $(JAVA_CLASSFILES_DIR) - $(JAVAC) -source 1.5 -target 1.5 -Xlint:-options \ + $(JAVAC) -source 1.6 -target 1.6 -Xlint:-options \ -cp $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) \ -d $(JAVA_CLASSFILES_DIR) $^ $(DX) --dex --output $@ $(JAVA_CLASSFILES_DIR) |