chore: Upgrade build tool dependencies

And move to mavenCentral instead of jcenter
This commit is contained in:
Peter Cai 2022-08-26 16:47:51 -04:00
parent 9c2357b1a1
commit 593d8103f2
3 changed files with 6 additions and 14 deletions

View file

@ -22,16 +22,8 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
lintOptions { lint {
// We have community-contributed translations. Do not let them block releases. disable 'MissingTranslation', 'ExtraTranslation', 'GoogleAppIndexingWarning', 'InvalidFragmentVersionForActivityResult'
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'
} }
} }

View file

@ -4,10 +4,10 @@ buildscript {
repositories { repositories {
google() google()
jcenter() mavenCentral()
} }
dependencies { 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 // NOTE: Do not place your application dependencies here; they belong
@ -18,7 +18,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
google() google()
jcenter() mavenCentral()
} }
} }

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists 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