From 6a0db1dcb1acd33dd4e96f1fb8b4db775eaf3e9e Mon Sep 17 00:00:00 2001 From: Shivam Goyal Date: Fri, 22 Sep 2023 02:25:49 +0530 Subject: [PATCH] Upgrade R8 Compiler --- build.gradle | 1 + gradle/libs.versions.toml | 3 +++ settings.gradle | 1 + 3 files changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 8fe481874d..d89d7dc04a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ buildscript { dependencies { classpath libs.juspay.hypersdk.plugin + classpath libs.android.r8 } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3f3ddf52d7..7e8de36e7c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,7 @@ android-installreferrer = "2.2" android-material = "1.9.0" android-places = "2.6.0" android-play-core-ktx = "1.8.1" +android-r8 = "8.2.33" android-supportAnnotations = "28.0.0" androidx-appcompat = "1.6.1" androidx-browser = "1.3.0" @@ -138,6 +139,8 @@ android-places = { module = "com.google.android.libraries.places:places", versio android-play-core-ktx = { module = "com.google.android.play:core-ktx", version.ref = "android-play-core-ktx" } +android-r8 = { module = "com.android.tools:r8", version.ref = "android-r8" } + android-support-annotations = { module = "com.android.support:support-annotations", version.ref = "android-supportAnnotations" } androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" } diff --git a/settings.gradle b/settings.gradle index 77dc687614..04e98b5557 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,6 +2,7 @@ pluginManagement { repositories { google() mavenCentral() + maven { url 'https://storage.googleapis.com/r8-releases/raw' } maven { url 'https://maven.fabric.io/public' } maven { url 'https://plugins.gradle.org/m2/' } maven { url 'https://maven.juspay.in/jp-build-packages/hyper-sdk/' }