fixes #5208: gradle build fails with android studio flamingo update

This commit is contained in:
Siva Subramaniam 2023-05-03 11:12:28 +05:30
parent 9fb13395f6
commit 368701ec59
15 changed files with 105 additions and 150 deletions

View file

@ -2,12 +2,11 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath 'org.codehaus.groovy:groovy-all:2.4.15'
@ -15,10 +14,11 @@ buildscript {
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
repositories {
google()
mavenCentral()
gradlePluginPortal() // potential jcenter() replacement
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}