From 8917c8b11a4c05e9dd8b0259146179a99ae08a19 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 19 Apr 2022 17:18:03 +0200 Subject: android: Drop obsolete "sourceCompatibility 6" This addresses this warning when building Android Viewer: > > Task :compileStrippedUIDebugJavaWithJavac > warning: [options] source value 6 is obsolete and will be removed in a future release > warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Change-Id: Ic1a80117e7e8c31774947729452bfafacd7a24c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133182 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- android/source/build.gradle | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android/source/build.gradle b/android/source/build.gradle index 47661f79c4cc..08f59bd2f90a 100644 --- a/android/source/build.gradle +++ b/android/source/build.gradle @@ -33,10 +33,6 @@ dependencies { android { compileSdkVersion 31 - compileOptions { - // silence some java-language features hints - sourceCompatibility 6 - } // uses non-conventional source layout, so need to reconfigure accordingly // ToDo move to conventional layout, so stuff can be stripped down. sourceSets { -- cgit