Skip to content

Commit

Permalink
Merge pull request #39 from swapnil-musale/development
Browse files Browse the repository at this point in the history
Android App Release V1.0.1
  • Loading branch information
swapnil-musale committed Aug 17, 2023
2 parents 4bc3049 + c85d8d6 commit 0605b35
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
distribution: 'temurin'

- name: Bump version code
uses: chkfung/android-version-actions@v1.1
uses: chkfung/android-version-actions@v1.2
with:
gradlePath: app/build.gradle.kts
versionCode: ${{github.run_number}}
Expand Down
18 changes: 17 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,20 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

# These rules were asked to be added by the R8 itself through build error while
# buidling release apk
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn org.conscrypt.Conscrypt$Version
-dontwarn org.conscrypt.Conscrypt
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE

# see https://github.com/square/retrofit/issues/3751
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
11 changes: 10 additions & 1 deletion data/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,13 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

# These rules were asked to be added by the R8 itself through build error while
# buidling release apk
-dontwarn java.lang.invoke.StringConcatFactory

# see https://github.com/square/retrofit/issues/3751
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
2 changes: 2 additions & 0 deletions data/src/main/java/com/devx/data/model/JokeResponse.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.devx.data.model

import androidx.annotation.Keep
import com.squareup.moshi.Json

@Keep
data class JokeResponse(

@field:Json(name = "delivery")
Expand Down

0 comments on commit 0605b35

Please sign in to comment.