Files
SmartisanNote.Remake/android/build.gradle
2025-10-10 08:13:38 +08:00

37 lines
771 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.2'
classpath 'com.google.gms:google-services:4.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply from: "variables.gradle"
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// 添加Java版本配置
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << "--release" << "17"
}
}