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>
This commit is contained in:
parent
c536f5cc7f
commit
2abd426cdc
@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
agp = "8.1.0-beta03"
|
||||
agp = "8.2.0-alpha05"
|
||||
kotlin = "1.8.21"
|
||||
|
||||
[libraries]
|
||||
|
@ -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"))
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user