diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 6cab83d73..3b06e8662 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -30,8 +30,8 @@ android { applicationId = "com.happy.friendogly" minSdk = 26 targetSdk = 34 - versionCode = 3 - versionName = "0.2.0" + versionCode = 4 + versionName = "0.2.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" @@ -46,6 +46,7 @@ android { buildTypes { debug { isDebuggable = true + isMinifyEnabled = false } release { isDebuggable = false @@ -63,17 +64,18 @@ android { kotlinOptions { jvmTarget = "1.8" } - dataBinding { - enable = true - } - viewBinding { - enable = true - } + buildFeatures { buildConfig = true viewBinding = true dataBinding = true } + + packaging { + resources { + excludes += "/META-INF/{AL2.0,LGPL2.1}" + } + } } dependencies { diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 481bb4348..bbf5c8b50 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -18,4 +18,12 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile + +-keep class com.kakao.sdk.**.model.* { ; } +-keep class * extends com.google.gson.TypeAdapter + +# https://github.com/square/okhttp/pull/6792 +-dontwarn org.bouncycastle.jsse.** +-dontwarn org.conscrypt.* +-dontwarn org.openjsse.**