@@ -50,8 +50,8 @@ android {
5050 //
5151 // This ensures the correct ordering between the various types of releases (dev < alpha < beta < release) which is
5252 // needed for upgrades to be offered correctly.
53- versionCode= 21500130
54- versionName= " 2.15alpha30 "
53+ versionCode= 21500137
54+ versionName= " 2.15alpha37 "
5555 minSdkVersion 21
5656 // noinspection OldTargetApi - also performed in api/build.fradle
5757 targetSdkVersion 29 // change .travis.yml platform download at same time
@@ -154,6 +154,7 @@ android {
154154 preDexLibraries = preDexEnabled && ! ciBuild
155155 }
156156 compileOptions {
157+ coreLibraryDesugaringEnabled true
157158 sourceCompatibility JavaVersion . VERSION_1_8
158159 targetCompatibility JavaVersion . VERSION_1_8
159160 }
@@ -216,15 +217,18 @@ dependencies {
216217 }
217218 }
218219
220+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.0.9'
219221 compileOnly ' org.jetbrains:annotations:20.1.0'
220222 compileOnly " com.google.auto.service:auto-service-annotations:1.0-rc7"
221223 annotationProcessor " com.google.auto.service:auto-service:1.0-rc7"
222224
223225 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
224- implementation ' androidx.annotation:annotation:1.1.0'
225- implementation ' androidx.appcompat:appcompat:1.2.0'
226+ implementation ' androidx.activity:activity:1.2.2'
227+ implementation ' androidx.annotation:annotation:1.2.0'
228+ implementation ' androidx.appcompat:appcompat:1.3.0-rc01'
226229 implementation ' androidx.browser:browser:1.3.0'
227230 implementation ' androidx.exifinterface:exifinterface:1.3.2'
231+ implementation ' androidx.fragment:fragment:1.3.2'
228232 implementation ' androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
229233 implementation " androidx.preference:preference:1.1.1"
230234 implementation ' androidx.recyclerview:recyclerview:1.1.0'
@@ -243,7 +247,7 @@ dependencies {
243247 // build with ./gradlew rsdroid:assembleRelease
244248 // In my experience, using `files()` currently requires a reindex operation, which is slow.
245249 // implementation files("C:\\GitHub\\Rust-Test\\rsdroid\\build\\outputs\\aar\\rsdroid-release.aar")
246- implementation ' com.google.protobuf:protobuf-java:3.15.3 ' // This is required when loading from a file
250+ implementation ' com.google.protobuf:protobuf-java:3.15.6 ' // This is required when loading from a file
247251 implementation " io.github.david-allison-1:anki-android-backend:$backendVersion "
248252 // build with ./gradlew rsdroid-testing:assembleRelease
249253 // RobolectricTest.java: replace RustBackendLoader.init(); with RustBackendLoader.loadRsdroid(path);
@@ -262,9 +266,9 @@ dependencies {
262266 // io.github.java-diff-utils:java-diff-utils is the natural successor here, but requires API24, #7091
263267 implementation ' org.bitbucket.cowwoc:diff-match-patch:1.2'
264268 implementation ' org.apache.commons:commons-compress:1.12' // #6419 - handle >2GB apkg files
269+ implementation ' org.apache.commons:commons-collections4:4.4' // SetUniqueList
265270 implementation ' net.mikehardy:google-analytics-java7:2.0.13'
266- // noinspection GradleDependency NewerVersionAvailable
267- implementation ' com.squareup.okhttp3:okhttp:3.12.12'
271+ implementation ' com.squareup.okhttp3:okhttp:4.9.1'
268272 implementation ' com.arcao:slf4j-timber:3.1'
269273 implementation ' com.jakewharton.timber:timber:4.7.1'
270274 implementation ' org.jsoup:jsoup:1.13.1'
@@ -281,10 +285,7 @@ dependencies {
281285 testImplementation ' androidx.test:core:1.3.0'
282286 testImplementation ' androidx.test.ext:junit:1.1.2'
283287 // debugImplementation required vs testImplementation: https://issuetracker.google.com/issues/128612536
284- debugImplementation(" androidx.fragment:fragment-testing:1.2.5" ) {
285- // monitor dep constrained to 1.2 by fragment-testing, 1.3+ is needed: https://github.com/android/android-test/issues/481
286- exclude group :' androidx.test' , module :' monitor'
287- }
288+ debugImplementation ' androidx.fragment:fragment-testing:1.3.2'
288289
289290 // May need a resolution strategy for support libs to our versions
290291 androidTestImplementation ' com.azimolabs.conditionwatcher:conditionwatcher:0.2'
0 commit comments