38 lines
1.0 KiB
Groovy
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}"
|
|
}
|