Skip to content

Commit

Permalink
add additional keep rules
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-waiguru committed Jan 13, 2024
1 parent 45eba00 commit 8915e2f
Showing 5 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -32,6 +32,14 @@ android {
"proguard-rules.pro"
)
}
debug {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Binary file modified app/release/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">TripicaAndroidTest</string>
<string name="app_name">TripitacaAndroidTest</string>
</resources>
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.danielwaiguru.tripitacaandroid.properties.data.models.dtos


import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName

@Keep
data class GeolocationDto(
@SerializedName("lat")
val lat: Double,
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.danielwaiguru.tripitacaandroid.properties.data.models.response

import androidx.annotation.Keep
import com.danielwaiguru.tripitacaandroid.properties.data.models.dtos.PropertyDto
import com.google.gson.annotations.SerializedName

@Keep
data class PropertiesResponse(
@SerializedName("total_count")
val totalCount: Int,

0 comments on commit 8915e2f

Please sign in to comment.