From cef961a4bcd943b4348d0257f9b6e14a36c9e7c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 05:56:46 +0000 Subject: [PATCH] Build(deps): Bump RETROFIT_VERSION from 2.9.0 to 2.11.0 Bumps `RETROFIT_VERSION` from 2.9.0 to 2.11.0. Updates `com.squareup.retrofit2:adapter-rxjava3` from 2.9.0 to 2.11.0 - [Release notes](https://github.com/square/retrofit/releases) - [Changelog](https://github.com/square/retrofit/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/square/retrofit/compare/2.9.0...2.11.0) Updates `com.squareup.retrofit2:retrofit` from 2.9.0 to 2.11.0 - [Release notes](https://github.com/square/retrofit/releases) - [Changelog](https://github.com/square/retrofit/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/square/retrofit/compare/2.9.0...2.11.0) Updates `com.squareup.retrofit2:converter-gson` from 2.9.0 to 2.11.0 - [Release notes](https://github.com/square/retrofit/releases) - [Changelog](https://github.com/square/retrofit/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/square/retrofit/compare/2.9.0...2.11.0) --- updated-dependencies: - dependency-name: com.squareup.retrofit2:adapter-rxjava3 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.squareup.retrofit2:retrofit dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.squareup.retrofit2:converter-gson dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: Unpublished --- News-Android-App/build.gradle | 2 +- News-Android-App/proguard-rules.pro | 29 ----------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/News-Android-App/build.gradle b/News-Android-App/build.gradle index bbd6cf0ba..a2655cda6 100644 --- a/News-Android-App/build.gradle +++ b/News-Android-App/build.gradle @@ -121,7 +121,7 @@ final GLIDE_VERSION = '4.16.0' final ESPRESSO_VERSION = '3.5.1' final OKHTTP_VERSION = '4.12.0' final MOCKITO_VERSION = '5.11.0' -final RETROFIT_VERSION = '2.9.0' +final RETROFIT_VERSION = '2.11.0' dependencies { // core android studio module diff --git a/News-Android-App/proguard-rules.pro b/News-Android-App/proguard-rules.pro index 00d347cb3..c0ef882bc 100644 --- a/News-Android-App/proguard-rules.pro +++ b/News-Android-App/proguard-rules.pro @@ -82,35 +82,6 @@ ##---------------End: proguard configuration for Gson ---------- -# Retrofit -# Following are additional rules not released yet (as of 2.9.0) -# Keep annotation default values (e.g., retrofit2.http.Field.encoded). --keepattributes AnnotationDefault - -# With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy -# and replaces all potential values with null. Explicitly keeping the interfaces prevents this. -# Keep inherited services. --if interface * { @retrofit2.http.* ; } --keep,allowobfuscation interface * extends <1> - -# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). --keep,allowobfuscation,allowshrinking interface retrofit2.Call --keep,allowobfuscation,allowshrinking class retrofit2.Response - -# With R8 full mode generic signatures are stripped for classes that are not -# kept. Suspend functions are wrapped in continuations where the type argument -# is used. --keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation - -# rxjava3 -# https://github.com/square/retrofit/blob/ac07d9162309b11a3b8b3f14909b5d05d3f021d0/retrofit-adapters/rxjava3/src/main/resources/META-INF/proguard/retrofit2-rxjava3-adapter.pro -# Keep generic signature of RxJava3 (R8 full mode strips signatures from non-kept items). --keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Flowable --keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Maybe --keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Observable --keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Single - - # Other Libraries -dontwarn org.apache.velocity.** -dontwarn freemarker.**