forked from sdwfqin/AndroidQuick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (43 loc) · 1.13 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
49
apply from: "config.gradle"
buildscript {
ext {
kotlin_version = '1.4.10'
hilt_version = '2.28.3-alpha'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
// bintray上传发布
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
// kotlin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// hilt
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
// classpath "com.tencent.bugly:tinker-support:1.1.5"
}
}
allprojects {
repositories {
flatDir {
dirs '../libs'
}
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet') //忽略javadoc错误
options {
encoding "UTF-8"
charSet 'UTF-8'
links "http://docs.oracle.com/javase/7/docs/api"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}