-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathbuild.gradle
36 lines (33 loc) · 972 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
buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.alibaba:arouter-register:1.0.2'
//butterknife
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.0'
//Sqlite数据库
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://www.jitpack.io' }
maven { url 'http://127.0.0.1:8081/repository/maven-releases/' }
}
tasks.withType(Javadoc) { // 新增
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: "config.gradle"