From e53a8d76f9643f8a101019b6218dde0f1d826a54 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 10 May 2023 19:54:07 +0200 Subject: [PATCH] gradle: hack around 8.1.0-beta02 api 21 outlining bug Signed-off-by: Jason A. Donenfeld --- ui/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index 065894c1..8368e7e6 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -3,6 +3,9 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +// Grotesque workaround for https://issuetracker.google.com/issues/279780940 +System.setProperty("com.android.tools.r8.disableApiModeling", "1") + val pkg: String = providers.gradleProperty("wireguardPackageName").get() plugins {