78 lines
2.4 KiB
Groovy
78 lines
2.4 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.uitron.demo'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.uitron.demo"
|
|
minSdk 21
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
debuggable false
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
benchmark {
|
|
initWith release
|
|
signingConfig signingConfigs.debug
|
|
matchingFallbacks = ['release']
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion '1.4.3'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation platform("androidx.compose:compose-bom:2023.01.00")
|
|
|
|
implementation project(':navi-uitron')
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.activity:activity-compose:1.5.0'
|
|
implementation "androidx.compose.material:material"
|
|
implementation 'androidx.compose.ui:ui'
|
|
implementation 'androidx.compose.ui:ui-graphics'
|
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
implementation "androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha02"
|
|
implementation "io.coil-kt:coil-compose:2.2.2"
|
|
testImplementation "junit:junit:4.13.2"
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.4"
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
implementation "androidx.navigation:navigation-compose:$nav_version"
|
|
implementation 'androidx.profileinstaller:profileinstaller:1.3.1'
|
|
|
|
} |