12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- // +----------------------------------------------------------------------
- // | Created by Yunbao
- // +----------------------------------------------------------------------
- // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Author: https://gitee.com/yunbaokji/
- // +----------------------------------------------------------------------
- // | Date: 2022-02-17
- // +----------------------------------------------------------------------
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- manifestPlaceholders = rootProject.ext.manifestPlaceholders
- ndk {
- abiFilters "armeabi-v7a", "arm64-v8a"
- }
- }
- aaptOptions {
- cruncherEnabled = false
- useNewCruncher = false
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs', '../libs'
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- //socket.io
- compile('io.socket:socket.io-client:1.0.0') {
- exclude group: 'org.json', module: 'json'
- }
- //金山播放和推流SDK
- compile 'com.ksyun.media:libksylive-java:3.0.4'
- compile 'com.ksyun.media:libksylive-armv7a:3.0.4'
- compile 'com.ksyun.media:libksylive-arm64:3.0.4'
- //common
- compile project(':common')
-
- }
|