-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
34 lines (32 loc) · 1.06 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'config.gradle'
buildscript {
ext.gradle_version = "4.2.2"
ext.kotlin_version = "1.5.0"
repositories {
google()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.google.gms:google-services:4.0.1' //这行对谷歌服务库进行依赖
}
}
allprojects {
repositories {
google()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
jcenter()
maven{
url "https://raw.github.com/bmob/bmob-android-sdk/master"
}
maven { url "https://jitpack.io" }
maven {url "https://maven.google.com"}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}