forked from hardlove/UiLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (32 loc) · 1.44 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
35
36
37
38
39
40
41
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
//https://maven.aliyun.com/mvn/view(摘自阿里云镜像仓库服务)
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/snapshots' }
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'//Android Gradle Plugin
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
//https://maven.aliyun.com/mvn/view(摘自阿里云镜像仓库服务)
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/snapshots' }
maven { url "https://jitpack.io" }
//穿山甲远程仓库
maven { url 'https://artifact.bytedance.com/repository/pangle' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}