Fixed login when in release mode, activated isCrunchPngs and updated gradle

This commit is contained in:
Mariano Riefolo 2024-04-11 15:49:11 +02:00
parent 7704631661
commit 5d09a7fc7b
3 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ android {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
isCrunchPngs = false
isCrunchPngs = true
}
}
compileOptions {

View File

@ -1,3 +1,6 @@
package it.edu.cassandroferminervi.flowschool.remote.dto
import androidx.annotation.Keep
@Keep
data class LoginResult(val token: String?, val error: String?)

View File

@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.3.0" apply false
id("com.android.application") version "8.3.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
}