-
Notifications
You must be signed in to change notification settings - Fork 95
/
build.gradle
48 lines (44 loc) · 1.55 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
42
43
44
45
46
47
48
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
// jcenter()
// google()
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
// jcenter()
// google() //AndroidStudio v3.0 可以使用 google() 替代 maven { url "https://maven.google.com" }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url "https://jitpack.io" }//FastLib 及部分三方库通过JitPack发布需添加才可依赖
//蒲公英
maven { url "https://raw.githubusercontent.com/Pgyer/mvn_repo_pgyer/master" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext{
compileSdkVersion = 28
minSdkVersion = 19
minLibSdkVersion = 15
targetSdkVersion = 28
supportVersion = "1.1.0"
widgetVersion = "3.2.25"
smartRefreshLayoutVersion = "2.0.3"
BRVAHVersion = "3.0.4"
agentwebVersion = "4.1.4"
glideVersion = "4.12.0"
butterknifeVersion = "10.2.3"
versionCode = 249
versionName = "2.4.0"
}