Skip to content

Commit c7cb5f1

Browse files
committed
build: upgrade retrofit to 2.10.0
1. fix proguard error, see square/retrofit#3751 (comment) 2. sign release apk
1 parent 51a29d3 commit c7cb5f1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: .github/workflows/android.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
- name: Release
2828
uses: softprops/action-gh-release@v2
2929
with:
30-
files: app/build/outputs/apk/release/app-release-unsigned.apk
30+
files: app/build/outputs/apk/release/app-release.apk

Diff for: app/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ android {
4141
release {
4242
isMinifyEnabled = true
4343
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
44+
signingConfig = signingConfigs.getByName("debug")
4445
}
4546
}
4647
buildFeatures {

Diff for: gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ glance = "1.0.0"
1414

1515
kotlin-serialization-json = "1.6.3"
1616
kotlin-coroutines-android = "1.8.0"
17-
retrofit = "2.9.0"
17+
retrofit = "2.10.0"
1818
okhttp = "4.12.0"
1919
room = "2.6.1"
2020
work = "2.9.0"

0 commit comments

Comments
 (0)