// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { repositories { google() //代码托管库,设置后可以在项目中引用jcenter上的开源项目 jcenter() } //引用anroid插件 dependencies { //声明gradle插件,插件版本号 classpath 'com.android.tools.build:gradle:3.5.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }