summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-17 13:40:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-26 16:19:52 +0200
commit2abd426cdc8a88b13c410f1e1793e9dad86b9180 (patch)
treebe49d6e779e94a9f1e4aa9ffefd5cabc9721c747 /ui
parentc536f5cc7f14b599c7c6de3cd94ba5eb90fd0b34 (diff)
gradle: bump to agp 8.2.0-alpha05
I wanted to stay on 8.1 in hopes of landing on a stable channel, but Google won't backport the RB fix, so we have to bump to 8.2 alphas. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/build.gradle.kts12
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 136c636a..3672c1ee 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -4,9 +4,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.android.build.gradle.tasks.ExtractSupportedLocalesTask
-// 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 {
@@ -95,12 +92,3 @@ tasks.withType<JavaCompile>().configureEach {
tasks.withType<KotlinCompile>().configureEach {
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
}
-
-// Grotesque workaround for https://issuetracker.google.com/issues/281825213
-tasks.withType<ExtractSupportedLocalesTask>().configureEach {
- doLast {
- val file = localeList.asFile.get()
- val lines = file.readLines()
- file.writeText((listOf(lines[0]) + lines.subList(1, lines.size).sorted()).joinToString(separator = "\n"))
- }
-} \ No newline at end of file