-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
37 lines (32 loc) · 1.02 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
apply from: "https://gitee.com/a_liYa/gradleconfig/raw/master/dependency/versions.gradle"
addAliyunRepos(repositories)
// addRepos(repositories)
}
dependencies {
// classpath deps.gradle_plugin
classpath deps.novoda_bintray
classpath 'com.android.tools.build:gradle:3.5.4'
// classpath 'com.novoda:bintray-release:0.9.2'
}
}
allprojects {
repositories {
addAliyunRepos(repositories)
// addRepos(repositories)
}
tasks.withType(Javadoc) {
options{
encoding "UTF-8"
charSet 'UTF-8'
links "http://docs.oracle.com/javase/7/docs/api"
}
options.addStringOption('tag', 'date:a:date') // 指定@date标记
// options.addStringOption('Xdoclint:none', '-quiet') // 避免javadoc的检查
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}