71 lines
1.6 KiB
Groovy
71 lines
1.6 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion '25.0.2'
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
iPlay50Debug{}
|
|
iPlay50Release{}
|
|
zhanRuiUserdebug{}
|
|
iPlay50SEDebug{}
|
|
iPlay50SERelease{}
|
|
iPlay50ProDebug{}
|
|
iPlay50ProRelease{}
|
|
iPlay50miniDebug{}
|
|
iPlay50miniRelease{}
|
|
iPlay5013Debug{}
|
|
iPlay5013Release{}
|
|
MTKAndroid12Debug {}
|
|
MTKAndroid12Release {}
|
|
teclast8183Debug {}
|
|
teclast8183Release {}
|
|
XPadDebug{}
|
|
XPadRelease{}
|
|
debug {}
|
|
release {}
|
|
}
|
|
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
}
|
|
|
|
//// 上传 jcenter 的配置
|
|
//apply plugin: 'com.novoda.bintray-release'//添加
|
|
//
|
|
////添加
|
|
//publish {
|
|
// userOrg = 'jacktuotuo'//用户名
|
|
// repoName = 'maven' //仓库的名字
|
|
// groupId = 'com.jacktuotuo.customview'//jcenter上的路径
|
|
// artifactId = 'verificationcodeview'//项目名称
|
|
// publishVersion = '1.0.5'//版本号
|
|
// desc = 'a custom View of the square verification code input box'//描述
|
|
// website = 'http://blog.csdn.net/qq_33553515'//个人网站
|
|
//}
|
|
|
|
|
|
// gradle clean build bintrayUpload -PbintrayUser=jacktuotuo -PbintrayKey=key -PdryRun=false
|
|
// 最终引用路径 compile 'com.jacktuotuo.customview:verificationcodeview:1.0.0
|
|
|
|
|