2016-08-06 15:21:16 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
|
|
android {
|
2016-08-09 02:23:33 +08:00
|
|
|
compileSdkVersion 23
|
|
|
|
|
buildToolsVersion "23.0.3"
|
2016-08-06 15:21:16 +08:00
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdkVersion 11
|
2016-08-09 02:23:33 +08:00
|
|
|
targetSdkVersion 23
|
2016-10-12 03:04:50 +08:00
|
|
|
versionCode 9
|
2016-10-12 16:38:30 +08:00
|
|
|
versionName "1.3.0"
|
2016-08-06 15:21:16 +08:00
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
testCompile 'junit:junit:4.12'
|
2016-08-10 17:47:51 +08:00
|
|
|
testCompile 'org.robolectric:robolectric:3.1.2'
|
2016-08-11 19:38:14 +08:00
|
|
|
testCompile 'com.google.truth:truth:0.29'
|
2016-08-16 21:03:58 +08:00
|
|
|
}
|
|
|
|
|
apply from: "https://raw.githubusercontent.com/xiaopansky/android-library-publish-to-jcenter/master/bintrayUpload.gradle"
|
|
|
|
|
// gradlew bintrayUpload
|