From 9401330ff4a91df679e86e9a2b2c0c05e29526fe Mon Sep 17 00:00:00 2001 From: Honza Rychnovsky Date: Fri, 11 Nov 2022 15:28:20 +0100 Subject: [PATCH] [#665] Gradle assemble task run fix --- ui-screenshot-test/build.gradle.kts | 1 + ui-screenshot-test/proguard-consumer.txt | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 ui-screenshot-test/proguard-consumer.txt diff --git a/ui-screenshot-test/build.gradle.kts b/ui-screenshot-test/build.gradle.kts index a8c31760..17fc2de5 100644 --- a/ui-screenshot-test/build.gradle.kts +++ b/ui-screenshot-test/build.gradle.kts @@ -35,6 +35,7 @@ android { buildTypes { create("release") { // to align with the benchmark module requirement - run against minified application + isMinifyEnabled = true } } diff --git a/ui-screenshot-test/proguard-consumer.txt b/ui-screenshot-test/proguard-consumer.txt new file mode 100644 index 00000000..e260bcc2 --- /dev/null +++ b/ui-screenshot-test/proguard-consumer.txt @@ -0,0 +1,7 @@ +# This is generated automatically by the Android Gradle plugin. +-dontwarn androidx.compose.ui.util.MathHelpersKt +-dontwarn androidx.startup.Initializer +-dontwarn com.google.common.util.concurrent.ListenableFuture +-dontwarn com.google.errorprone.annotations.CheckReturnValue +-dontwarn com.google.errorprone.annotations.InlineMe +-dontwarn com.google.errorprone.annotations.MustBeClosed \ No newline at end of file