summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-10 19:54:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-10 19:56:08 +0200
commite53a8d76f9643f8a101019b6218dde0f1d826a54 (patch)
treeeaa0c43fd49735296e7ee7023caa698e6650acf8
parente0b4551bca78908955371fc2fa323d25fc443d0a (diff)
gradle: hack around 8.1.0-beta02 api 21 outlining bug
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui/build.gradle.kts3
1 files changed, 3 insertions, 0 deletions
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 {