|
|
|
apply from: "${rootProject.rootDir}/buildCommon/commonLibConfig.gradle"
|
|
|
|
project.ext.setAppDefaultConfig project
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'com.yinuo.safetywatcher'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.yinuo.safetywatcher"
|
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
compose true
|
|
|
|
}
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion '1.3.2'
|
|
|
|
}
|
|
|
|
packagingOptions {
|
|
|
|
resources {
|
|
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
|
|
|
|
|
|
var lifeCycle_version = '2.5.1'
|
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifeCycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifeCycle_version"
|
|
|
|
|
|
|
|
implementation platform('androidx.compose:compose-bom:2022.10.00')
|
|
|
|
implementation 'androidx.activity:activity-compose:1.5.1'
|
|
|
|
implementation 'androidx.compose.ui:ui'
|
|
|
|
implementation 'androidx.compose.ui:ui-graphics'
|
|
|
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
|
|
implementation 'androidx.compose.material3:material3'
|
|
|
|
implementation 'androidx.navigation:navigation-runtime-ktx:2.5.2'
|
|
|
|
implementation "androidx.navigation:navigation-compose:2.4.0-rc01"
|
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.1.6'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
|
|
|
|
|
|
|
var accompanist_version = '0.30.1'
|
|
|
|
implementation "com.google.accompanist:accompanist-permissions:$accompanist_version"
|
|
|
|
implementation project(path: ':library-push')
|
|
|
|
|
|
|
|
implementation(name: 'libuvccamera-release', ext: 'aar') {
|
|
|
|
exclude module: 'support-v4'
|
|
|
|
exclude module: 'appcompat-v7'
|
|
|
|
}
|
|
|
|
}
|