Files
VercodeEditText/vcedittext-lib/build.gradle
yj b05c0e0f85 Action:add;release
Description:添加README文件,上传至JCenter,发布版本v1.0.0
2017-06-12 16:45:14 +08:00

38 lines
1.0 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
def appVerCode = 1
def appVerName = "1.0.0"
publish {
userOrg = 'jkb'
groupId = 'com.justkiddingbaby'
artifactId = 'vercodeedittext'
publishVersion = appVerName
desc = 'An Android vercode EditText.(一个安卓验证码输入框)'
website = 'https://github.com/YangJing96/VercodeEditText'
}
android {
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
buildToolsVersion BUILDTOOLS_VERSION
defaultConfig {
minSdkVersion Integer.parseInt(MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(TARGET_SDK_VERSION)
versionCode appVerCode
versionName appVerName
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions { abortOnError false }
}
dependencies {
compile "com.android.support:appcompat-v7:${SUPPORT_LIB_VERSION}"
}