1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 28
- buildToolsVersion '28.0.3'
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 28
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- lintOptions {
- checkReleaseBuilds false
- // Or, if you prefer, you can continue to check for errors in release builds,
- // but continue the build even when errors are found:
- abortOnError false
- }
- }
- dependencies {
- //release时需要把hyphenatechatsdk的依赖注释掉,sdk已经被打成jar包放在libs底下
- // //api project(':hyphenatechatsdk')
- api 'com.hyphenate:hyphenate-sdk:3.6.2'
- api fileTree(dir: 'libs', include: ['*.jar'])
- api 'com.github.bumptech.glide:glide:4.7.1'
- api 'com.google.android.gms:play-services-base:11.4.0'
- testImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- api 'com.android.support:appcompat-v7:28.0.0-alpha1'
- testImplementation 'junit:junit:4.12'
- implementation 'com.hjq:toast:8.0'
- implementation 'org.simple:androideventbus:1.0.5.1'
- }
|