-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
48 lines (39 loc) · 1.27 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
apply from: "config.gradle"
buildscript {
ext.kotlin_version = '1.3.41'
// 基础依赖
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// Gradle Android Maven plugin
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// Kotlin 插件
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// 以下这段功能是用来上传至代码库,其他项目不用复制这段代码
classpath 'com.novoda:bintray-release:0.9'
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://novoda.bintray.com/snapshots' }
maven { url "https://jitpack.io" }
mavenCentral()
jcenter()
google()
}
}
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://novoda.bintray.com/snapshots' }
maven { url "https://jitpack.io" }
mavenCentral()
jcenter()
google()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}