From 593d8103f23c8a580c493b62cb51c6c22bc74011 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Fri, 26 Aug 2022 16:47:51 -0400 Subject: [PATCH] chore: Upgrade build tool dependencies And move to mavenCentral instead of jcenter --- app/build.gradle | 12 ++---------- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 590352b..00b8270 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,16 +22,8 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } - lintOptions { - // We have community-contributed translations. Do not let them block releases. - disable 'MissingTranslation' - disable 'ExtraTranslation' - // We don't need Google App Indexing - disable 'GoogleAppIndexingWarning' - // Some dependencies still pull in Fragment 1.2.x - // Let's just ignore the error for now - // We don't really hit the broken use-cases for now - disable 'InvalidFragmentVersionForActivityResult' + lint { + disable 'MissingTranslation', 'ExtraTranslation', 'GoogleAppIndexingWarning', 'InvalidFragmentVersionForActivityResult' } } diff --git a/build.gradle b/build.gradle index 42810d6..f1ac6ef 100644 --- a/build.gradle +++ b/build.gradle @@ -4,10 +4,10 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.3' + classpath 'com.android.tools.build:gradle:7.2.2' // NOTE: Do not place your application dependencies here; they belong @@ -18,7 +18,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 34b93c1..ca14046 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip