123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- apply plugin: 'com.android.library'
- group = 'com.github.wildfirechat'
- android {
- compileSdkVersion 28
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 28
- // 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')
- def lifecycle_version = '2.2.0'
- implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
- api 'com.squareup.okhttp3:okhttp:3.11.0'
- implementation 'com.squareup.okio:okio:1.14.0'
- }
- repositories {
- mavenCentral()
- }
|