You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.1 KiB
Groovy

apply from: "${rootProject.rootDir}/buildCommon/commonLibConfig.gradle"
apply plugin: 'org.jetbrains.kotlin.android'
project.ext.setAppDefaultConfig project
2 years ago
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
defaultConfig {
applicationId "com.yinuo.safetywatcher"
2 years ago
ndk {
//设置支持的SO库架构开发者可以根据需要选择一个或多个平台的so
abiFilters "arm64-v8a"
}
2 years ago
}
viewBinding {
enabled = true
}
2 years ago
}
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation(name: 'libuvccamera-release', ext: 'aar') {
exclude module: 'support-v4'
exclude module: 'appcompat-v7'
}
implementation 'io.reactivex.rxjava2:rxjava:2.1.6'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'com.github.bumptech.glide:glide:4.12.0'
2 years ago
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-reactivestreams:2.4.1'
//libs
implementation project(':library-push')
implementation project(path: ':library-ijkplayer')
implementation project(path: ':library-serialPort')
implementation project(path: ':library-common')
//添加excel
implementation rootProject.ext.dependencies.jxl
// 时间日期选择控件
implementation 'com.github.loper7:DateTimePicker:0.6.3'
//ijk
implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
// 添加retrofit依赖
implementation rootProject.ext.dependencies.retrofit
// 添加rxjava依赖
implementation rootProject.ext.dependencies.rxjava
implementation 'com.google.android.material:material:1.5.0'
2 years ago
annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.0.0'
}