Skip to content

Commit

Permalink
Android fixes
Browse files Browse the repository at this point in the history
- Also sign the apk
- Bump dependencies
  • Loading branch information
DRSchlaubi committed May 31, 2023
1 parent 62c2230 commit 58cebcf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,21 @@ jobs:
path: app/android/build/outputs/apk/release/*.apk
- uses: r0adkll/sign-android-release@v1
id: sign_bundle
name: Sign app APK
name: Sign AAB
with:
releaseDirectory: app/android/build/outputs/bundle/release/
signingKeyBase64: ${{ secrets.KEYSTORE }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}

keyPassword: ${{ secrets.KEY_PASSWORD }}
- uses: r0adkll/sign-android-release@v1
id: sign_bundle
name: Sign APK
with:
releaseDirectory: app/android/build/outputs/apk/release/
signingKeyBase64: ${{ secrets.KEYSTORE }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- uses: r0adkll/upload-google-play@v1
name: Release on Play Store
Expand Down
5 changes: 4 additions & 1 deletion app/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ android {
buildTypes {
release {
isMinifyEnabled = true
proguardFile("proguard-rules.pro")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)

applicationVariants.all {
outputs.all {
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ kotlin-logging = { group = "io.github.microutils", name = "kotlin-logging", vers
lyricist = { group = "cafe.adriel.lyricist", name = "lyricist", version.ref = "lyricist" }
lyricist-processor = { group = "cafe.adriel.lyricist", name = "lyricist-processor", version.ref = "lyricist" }

logback = { group = "ch.qos.logback", name = "logback-classic", version = "1.3.6" }
logback = { group = "ch.qos.logback", name = "logback-classic", version = "1.4.7" }

kvault = { group = "com.liftric", name = "kvault", version = "1.10.0" }

androidx-activity = { group = "androidx.activity", name = "activity-compose", version = "1.7.1" }
androidx-activity = { group = "androidx.activity", name = "activity-compose", version = "1.7.2" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.6.1" }
androidx-core = { group = "androidx.core", name = "core-ktx", version = "1.10.1" }
androidx-browser = { group = "androidx.browser", name = "browser", version = "1.5.0" }
Expand Down

0 comments on commit 58cebcf

Please sign in to comment.