diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-09-16 16:02:08 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-09-16 20:55:10 +0300 |
commit | 581ac9a4add648412a220ee3edc3553c9edae06d (patch) | |
tree | 482ef6eeea985342f8e808925da25359a27c7f77 /mkspecs | |
parent | 675805e9eb0dc68a6e96622353073fd54161bdaf (diff) |
Android: bump default javac build versions to 8
Use -source 8 and -target 8 for javac by default.
Task-number: QTBUG-86282
Change-Id: I291beab4df166468972138822ca26f01c9666985
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/java.prf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/java.prf b/mkspecs/features/java.prf index 20dc719699..ed003e7ac7 100644 --- a/mkspecs/features/java.prf +++ b/mkspecs/features/java.prf @@ -23,10 +23,10 @@ javac.CONFIG += combine # Check for user defined javac build version javac_target_version = $$ANDROID_JAVAC_TARGET_VERSION -isEmpty(javac_target_version): javac_target_version = 7 +isEmpty(javac_target_version): javac_target_version = 8 javac_source_version = $$ANDROID_JAVAC_SOURCE_VERSION -isEmpty(javac_source_version): javac_source_version = 7 +isEmpty(javac_source_version): javac_source_version = 8 javac.commands = javac -source $$javac_source_version -target $$javac_target_version -Xlint:unchecked -bootclasspath $$ANDROID_JAR_FILE -cp $$shell_quote($$system_path($$join(JAVACLASSPATH, $$DIRLIST_SEPARATOR))) -d $$shell_quote($$CLASS_DIR) ${QMAKE_FILE_IN} |