forked from xiaomsh/Banner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (37 loc) · 862 Bytes
/
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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
// https://github.com/novoda/bintray-release
classpath 'com.novoda:bintray-release:0.9.2'
}
}
allprojects {
repositories {
flatDir {
dirs 'libs'
}
google()
jcenter()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
// 统一定义SDK版本
compileSdkVersion = 28
minSdkVersion = 14
targetSdkVersion = 28
buildToolsVersion = '29.0.2'
supportVersion = '28.0.0'
androidxVersion = '1.1.0'
}