summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-04-19 17:18:03 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2022-04-20 05:33:22 +0200
commit61d7d2407e6af2ed2dcf52deeaf99841a0a23d6c (patch)
treeade2a7ed4253124477b4b1485ebbcfba6cc69ebf
parent2a58d87beeb08fb19d24097e4a22f77c37a1570c (diff)
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.weghorn@posteo.de> (cherry picked from commit 8917c8b11a4c05e9dd8b0259146179a99ae08a19)
-rw-r--r--android/source/build.gradle4
1 files changed, 0 insertions, 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 {