upgrade: AGP from 7.2.0 to 8.7.2 and Gradle from 7.5 to 8.10.2

This commit is contained in:
guozhigq
2024-12-02 22:35:53 +08:00
parent 17f4c84740
commit 15e5eec5b1
7 changed files with 52 additions and 40 deletions

View File

@ -1,15 +1,3 @@
buildscript {
ext.kotlin_version = '1.9.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
@ -20,6 +8,15 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {