summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-21 18:22:48 +0530
committerGitHub <noreply@github.com>2022-02-21 18:22:48 +0530
commit2e3e6ef052f61635a694248991b4e4d94505d509 (patch)
tree92623622b2df9db4a7b391f746b3afb50f3a10f5
parent3d0006d610c89f601fef7fa64e1794cd76b47006 (diff)
Switch to R8 dev releases (#1738)
-rw-r--r--build.gradle.kts10
-rw-r--r--gradle/libs.versions.toml1
2 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 5a278514..59d68591 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -4,6 +4,16 @@
*/
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
+buildscript {
+ repositories {
+ maven("https://storage.googleapis.com/r8-releases/raw") {
+ name = "R8 dev releases"
+ content { includeModule("com.android.tools", "r8") }
+ }
+ }
+ dependencies { classpath(libs.build.r8) }
+}
+
plugins {
id("com.github.android-password-store.kotlin-common")
id("com.github.android-password-store.binary-compatibility")
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 11ffad88..4791ada9 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -48,6 +48,7 @@ build-download = "de.undercouch:gradle-download-task:5.0.1"
build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
+build-r8 = "com.android.tools:r8:3.3.15-dev"
build-semver = "com.vdurmont:semver4j:3.1.0"
build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.3.0"