apply plugin: 'com.android.library' android { compileSdkVersion 28 defaultConfig { minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'de.greenrobot:eventbus:2.4.0' implementation 'androidx.appcompat:appcompat:1.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' // 添加依赖。注意,版本号必须一致。 // 基础功能 (必需) // compile 'com.netease.nimlib:basesdk:5.1.1' // // 聊天室需要 // compile 'com.netease.nimlib:chatroom:5.1.1' // // compile 'com.netease.nimlib:lucene:5.1.1' // // 小米、华为、魅族、fcm 推送 // compile 'com.netease.nimlib:push:5.1.1' // compile 'com.netease.nimlib:rts:5.1.1' // https://mvnrepository.com/artifact/com.alibaba/fastjson // compile group: 'com.alibaba', name: 'fastjson', version: '1.2.51' implementation project(path: ':storage') implementation project(path: ':yunxinkit') }