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.
39 lines
1.2 KiB
Groovy
39 lines
1.2 KiB
Groovy
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'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1'
|
|
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"
|
|
} |