//settings.gradle位于文件的根目录,用于定义项目级代码库设置,并告知Gradle在构建应用时应将那些模块包含在内 dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon } } rootProject.name = "XklLocal" include ':app'