You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Millet_note/src/Note-master2/build.gradle

32 lines
928 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven{
url "https://plugins.gradle.org/m2/"
}
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.google.gms:google-services:4.0.1' //这行对谷歌服务库进行依赖
}
}
//apply plugin: "org.sonarqube"
/*plugins {
id "org.sonarqube" version "2.7"
}*/
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {url 'https://dl.bintray.com/jetbrains/anko'} //这是你需要加入的这个是解决这个问题的关键地方我就是添加这个maven后不再报上面的错误了
maven {url "https://maven.google.com"} //谷歌广告
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}