android/source/build.gradle |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 8917c8b11a4c05e9dd8b0259146179a99ae08a19
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Tue Apr 19 17:18:03 2022 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Wed Apr 20 05:19:52 2022 +0200

    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 <m.wegh...@posteo.de>

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 {

Reply via email to