You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
7 years ago
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
|
|
||
|
buildscript {
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:2.0.0'
|
||
|
classpath 'com.novoda:bintray-release:0.3.4'
|
||
|
|
||
|
|
||
|
// NOTE: Do not place your application dependencies here; they belong
|
||
|
// in the individual module build.gradle files
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
maven { url 'https://dl.bintray.com/yingzi/maven' }
|
||
|
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
|
||
|
}
|
||
|
//添加
|
||
|
ext {
|
||
|
userOrg = 'yingzi' //bintray注册的用户名
|
||
|
groupId = 'vip.devkit' //compile引用时的第1部分groupId
|
||
|
artifactId = 'common.share' //compile引用时的第2部分项目名
|
||
|
publishVersion = '1.0.8' //compile引用时的第3部分版本号
|
||
|
desc = 'This is a common.widget extend library'
|
||
|
website = 'https://github.com/yingzikeji/AndroidUtils'
|
||
|
licences = ['Apache-2.0']
|
||
|
}
|