-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
47 lines (41 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
42
43
44
45
46
47
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: "abkit"
abkit {
abVersion { // 统一管理Android的版本号
compileSdkVersion 29
buildToolsVersion "29.0.3"
minSdkVersion 21
targetSdkVersion 29
force = true // force为true表示强制所有模块使用这里的版本号,false会以各个模块定义版本号为准,没有定义才会取这里的版本号
}
}
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven { url "https://maven.aliyun.com/repository/central"}
mavenCentral()
google()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
classpath "io.github.luqinx:abkit:0.0.1"
classpath 'io.github.luqinx:autoservice:1.8.0-LOCAL'
// classpath project(':autoservice')
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
// maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven { url "https://maven.aliyun.com/repository/central"}
google()
mavenLocal()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}