apply plugin: 'com.android.library' android { compileSdkVersion target_sdk_version buildToolsVersion build_tools_version defaultConfig { minSdkVersion min_sdk_version targetSdkVersion target_sdk_version versionCode app_version_code versionName app_version compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } vectorDrawables.useSupportLibrary = true //ndk { // 设置支持的SO库架构 // abiFilters 'armeabi-v7a', 'x86'//, 'arm64-v8a' //} } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //implementation 'androidx.appcompat:appcompat:1.2.0' //implementation 'androidx.constraintlayout:constraintlayout:1.1.3' //implementation 'androidx.legacy:legacy-support-v4:1.0.0' //implementation 'androidx.vectordrawable:vectordrawable:1.1.0' // navigation //implementation 'androidx.navigation:navigation-fragment:2.3.0' //implementation 'androidx.navigation:navigation-ui:2.3.0' //implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'com.google.android.material:material:1.1.0' /** * Android基础依赖库 */ //noinspection GradleCompatible implementation "com.android.support:design:$support_library_version" implementation "com.android.support:support-v4:$support_library_version" implementation "com.android.support:cardview-v7:$support_library_version" implementation "com.android.support:appcompat-v7:$support_library_version" implementation "com.android.support.constraint:constraint-layout:1.1.0-beta5" implementation "com.android.support:support-vector-drawable:$support_library_version" implementation "android.arch.lifecycle:extensions:1.0.0-alpha4" // 内存泄漏检测 debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.1' implementation project(path: ':rtc-chat') // java implementation 'org.java-websocket:Java-WebSocket:1.4.0' compile 'com.alibaba:fastjson:1.2.23' //强大的弹窗库 implementation 'com.lxj:xpopup:2.2.0' //eventbus //compile 'org.greenrobot:eventbus:3.1.1' compile 'com.blankj:utilcodex:1.30.5' compile project(':middleware') //通知提示弹出库 api 'com.tapadoo.android:alerter:6.2.1' }