diff --git a/core/build.gradle.kts b/core/build.gradle.kts index cca54df9..b10e878c 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -103,6 +103,12 @@ android { kotlinCompilerExtensionVersion = "1.5.2" } + buildTypes { + getByName("release") { + consumerProguardFile("consumer-rules.pro") + } + } + } compose { diff --git a/core/consumer-rules.pro b/core/consumer-rules.pro new file mode 100644 index 00000000..116b5434 --- /dev/null +++ b/core/consumer-rules.pro @@ -0,0 +1,2 @@ +# Ktor fails release builds with R8 without it +-dontwarn org.slf4j.impl.StaticLoggerBinder \ No newline at end of file