Update Gradle to 8.9.3, Sdk to 35, Java to 17 and Fix

This commit is contained in:
lionel
2025-07-09 13:40:50 +02:00
parent c373ac8109
commit d36eec5399
20 changed files with 107 additions and 86 deletions

View File

@ -2,10 +2,10 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
classpath 'com.android.tools.build:gradle:8.9.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@ -15,15 +15,17 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}