-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
32 lines (28 loc) · 858 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 上传命令:$ ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// jecenter上传
classpath 'com.novoda:bintray-release:0.8.0'
}
}
tasks.withType(Javadoc) {
options.encoding = "UTF-8"
options.addStringOption('Xdoclint:none', '-quiet')
}
allprojects {
repositories {
maven { url "http://maven.raeblog.com:8081/repository/maven-public/" }
maven { url "https://dl.bintray.com/raee/Android" }
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}