apply plugin: 'com.android.library' apply plugin: 'com.novoda.bintray-release' publish { userOrg = 'yingzi' //bintray注册的用户名 groupId = 'vip.devkit' //compile引用时的第1部分groupId artifactId = 'common.share' //compile引用时的第2部分项目名 publishVersion = '1.0.8' //compile引用时的第3部分版本号 desc = 'This is a androud-utils extend library' website = 'https://github.com/yingzikeji/AndroidUtils' /* * 上传命令 * gradlew clean build bintrayUpload -PbintrayUser=yingzi -PbintrayKey=ed9a147c9625f44063e1504a6879b344eb7d76fd -PdryRun=false * */ } android { compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.0.0' compile 'io.reactivex:rxjava:1.2.3' compile 'io.reactivex:rxandroid:1.2.1' compile 'com.squareup.okhttp3:okhttp:3.4.2' compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+' compile files('libs/open_sdk_r5990_lite.jar') compile files('libs/weiboSDKCore_3.1.4.jar') }