12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- apply plugin: 'com.android.library'
- group = 'com.github.wildfirechat'
- android {
- compileSdkVersion 34
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 34
- // testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- ndk {
- // TODO: changes this for your application if needed
- moduleName = "mmnet"
- //abiFilter "armeabi" //去掉armeabi架构,armeabi-v7a可以兼容armeabi架构。
- abiFilter "armeabi-v7a"
- abiFilter "arm64-v8a"
- abiFilter "x86"
- abiFilter "x86_64"
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- compileOptions {
- targetCompatibility 1.8
- sourceCompatibility 1.8
- }
- namespace 'cn.wildfirechat.client'
- lint {
- abortOnError false
- }
- buildFeatures {
- aidl true
- }
- }
- dependencies {
- api project(':mars-core-release')
- api "androidx.lifecycle:lifecycle-viewmodel:2.8.7"
- api "androidx.lifecycle:lifecycle-livedata:2.8.7"
- api "androidx.lifecycle:lifecycle-process:2.8.7"
- api 'com.squareup.okhttp3:okhttp:4.12.0'
- implementation 'com.squareup.okio:okio:3.10.2'
- }
|