Gradle 更新后,每个新项目在 build.gradle 文件中都有这种格式 (project:"...")。
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.0' apply false
id 'com.android.library' version '7.1.0' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
现在我该如何在这里添加classpath依赖项?