123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- multiDexEnabled true
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- externalNativeBuild {
- cmake {
- cppFlags "-std=c++11"
- arguments "-DANDROID_STL=c++_static",
- "-DANDROID_PLATFORM=android-15",
- "-DANDROID_TOOLCHAIN=clang",
- "-DANDROID_STL_FORCE_FEATURES=OFF",
- "-DANDROID_ARM_NEON=TRUE"
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs', '../libs'
- }
- }
- allprojects {
- repositories {
- maven { url uri('../../repo') }
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.3.0-alpha01'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- //声网
- implementation 'io.agora.rtc:full-sdk:3.6.0.1'
- //美颜
- api(name: 'ti-sdk', ext: 'aar')
- api files('libs/video-capture.aar')
- // api files('libs/LiteAVSDK_Professional_9.5.11171.aar')
- api "com.tencent.liteav.tuikit:tuicore:latest.release"
- api 'com.tencent.liteav:LiteAVSDK_Professional:11.9.0.14445'
- //轩嗵云,key
- api(name: 'XtKey3.1.1', ext: 'aar')
- }
|