-
Notifications
You must be signed in to change notification settings - Fork 282
/
Copy pathbuild.gradle
38 lines (33 loc) · 1.04 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
buildscript {
ext {
kotlin_version = '1.3.72'
}
repositories {
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
google()
}
def androidGradle = "com.android.tools.build:gradle:4.0.0"
def kotlinGradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
def daggerGradle = "com.google.dagger:hilt-android-gradle-plugin:2.36"
dependencies {
classpath androidGradle
classpath kotlinGradle
classpath daggerGradle
}
}
allprojects {
repositories {
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
google()
maven { url "https://jitpack.io" }
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}