// Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.application' version '8.1.0' apply false id 'org.jetbrains.kotlin.android' version '1.8.0' apply false } // Top-level build file where you can add configuration options common to all sub-projects/modules. //buildscript { // repositories { // google() // jcenter() // // 增加这行 // mavenCentral() // // } // dependencies { // classpath 'com.android.tools.build:gradle:8.1.0' // classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20' // } //} // //allprojects { // repositories { // google() // jcenter() // maven {url "https://jitpack.io"} // maven {url 'https://maven.google.com'} // } //} // //task clean(type: Delete) { // delete rootProject.buildDir //}