Skip to content

Commit

Permalink
consumer proguard rule + instant changes
Browse files Browse the repository at this point in the history
  • Loading branch information
puskal-khadka committed Apr 15, 2023
1 parent 712cc0d commit 2527701
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ android {
)
}
getByName("release") {
isDebuggable = true
isMinifyEnabled = false
isDebuggable = false
isMinifyEnabled = true
initWith(getByName("release"))
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/java/plugin/android-common.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ android {
defaultConfig {
minSdk = AppConfig.minSdk
targetSdk = AppConfig.targetSdk
consumerProguardFiles ("consumer-rules.pro")
}

buildTypes {
Expand Down
1 change: 1 addition & 0 deletions data/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-keep public class com.puskal.data.model.** {*;}
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ fun CommentUserField() {
unfocusedBorderColor = Color.Transparent
),
modifier = Modifier.height(46.dp),
enabled=false,
trailingIcon = {
Row(
verticalAlignment = Alignment.CenterVertically,
Expand Down

0 comments on commit 2527701

Please sign in to comment.