From 849e296b4abb0fe17f00d2f82ae93c34e984292b Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 27 Apr 2022 10:23:14 -0700 Subject: [PATCH] up library versions Trying to address androidx.preference.PreferenceManager.getDefaultSharedPreferences sometimes failing on Android 12. Using newer version of the library probably won't hurt. --- xwords4/android/app/build.gradle | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index f6b0268df..0381ce44b 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -65,6 +65,11 @@ repositories { } android { + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } + // Specify buildToolsVersion so gradle will inform when the // default changes and .travis.yml can be kept in sync buildToolsVersion '28.0.3' @@ -363,16 +368,12 @@ android { } dependencies { - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'androidx.core:core:1.0.0' - implementation 'androidx.preference:preference:1.1.+' + implementation 'androidx.legacy:legacy-support-v4:1.0.+' + implementation 'androidx.core:core:1.0.+' + implementation 'androidx.preference:preference:1.2.+' - implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' - annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.0.0' - - - implementation 'com.google.firebase:firebase-messaging:17.3.4' // rm-for-fdroid - implementation 'com.google.firebase:firebase-core:16.0.6' // rm-for-fdroid + implementation 'androidx.lifecycle:lifecycle-extensions:2.0.+' + annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.0.+' implementation 'com.github.eehouse:nbsproxy:v0.2.2'