iot 标准分屏版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
5.2 KiB

apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
buildFeatures {
dataBinding = true
}
defaultConfig {
applicationId "qianmu.container"
minSdkVersion 24
targetSdkVersion 30
versionCode 6
versionName "V2.0.8.30"
//V2.0.8.22 删除ai背景视频切换代码
//V2.0.8.23 节目切换图片覆盖问题
//V2.0.8.30 4个视频
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
ndk { abiFilters "armeabi-v7a" }
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
signingConfigs {
android_studio_app {
keyAlias 'key0'
keyPassword '123456'
storeFile file('keystore.jks')
storePassword '123456'
// v2SigningEnabled false
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.android_studio_app
// signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.android_studio_app
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
packagingOptions {
exclude 'AndroidManifest.xml'
}
sourceSets.main {
jni.srcDirs = []
jniLibs.srcDir "libs"
}
repositories {
flatDir {
dirs 'libs'
}
}
}
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.1'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(include: ['*.aar'], dir: 'libs')
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation files('libs/ymeeting.jar')//亿晟
implementation project(path: ':playerview')
implementation files('libs/zckjAPI-2.2.jar')//卓策
implementation files('libs/jna-min.jar')
implementation files('libs/Msc.jar')
implementation files('libs/toolbox_kit.jar')//灰度主板 罗湖寻车机
implementation files('libs/shockman.jar')//指路机
implementation files('libs/signway.jar') //欣威视通
implementation files('libs/sdkapi.jar') //Bv-3588
implementation files('libs/smdt.jar') //视美泰
implementation files('libs/DUI-lite-SDK-for-Android-3.5.0-466a4c77.jar') //思必驰
implementation files('libs\\extmanager.jar') //TCL 982
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation ('com.lzy.net:okgo:3.0.4') {
exclude group: 'com.squareup.okhttp3' // 排除 OkGo 自带的 OkHttp 3.8.1
}
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.alibaba:arouter-api:1.5.0'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'jp.wasabeef:glide-transformations:3.0.1'
annotationProcessor 'com.alibaba:arouter-compiler:1.2.2'
implementation 'org.java-websocket:Java-WebSocket:1.5.1'
//视频播放
implementation 'com.google.android.exoplayer:exoplayer:2.15.1'
implementation 'com.yanzhenjie.andserver:api:2.0.4'
annotationProcessor 'com.yanzhenjie.andserver:processor:2.0.4'
implementation files('libs/java-unrar-1.7.0-8.jar') // rar解压
implementation files('libs/commons-compress-1.19.jar')
implementation 'com.loopj.android:android-async-http:1.4.11'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.59'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//加载json动图
implementation 'com.airbnb.android:lottie:4.2.2'
implementation 'com.jakewharton:process-phoenix:2.1.2'//软件重启
implementation 'cn.hutool:hutool-all:5.8.26'
//清除页面缓存
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.3'
//releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'
//检测内存泄漏
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.12'
}