113 lines
3.4 KiB
Groovy
113 lines
3.4 KiB
Groovy
plugins {
|
|
alias libs.plugins.android.application
|
|
alias libs.plugins.hilt.android
|
|
alias libs.plugins.kotlin.android
|
|
alias libs.plugins.ksp
|
|
}
|
|
|
|
def VERSION_CODE = 1
|
|
def VERSION_NAME = "1.0.0"
|
|
|
|
android {
|
|
namespace 'com.navi.uitron.demo'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.navi.uitron.demo"
|
|
minSdk 23
|
|
targetSdk 34
|
|
versionCode VERSION_CODE
|
|
versionName VERSION_NAME
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file('../keystore/navi-debug-key.jks')
|
|
storePassword "android"
|
|
keyAlias "androiddebugkey"
|
|
keyPassword "android"
|
|
}
|
|
release {
|
|
storeFile file('../keystore/navi-non-prod-release-key.jks')
|
|
storePassword "android"
|
|
keyAlias "navi"
|
|
keyPassword "android"
|
|
}
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
debuggable false
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
freeCompilerArgs += ["-Xstring-concat=inline"]
|
|
jvmTarget = '17'
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion libs.versions.compose.lib.get()
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api platform(libs.firebase.bom)
|
|
api libs.androidx.lifecycle.runtime.compose
|
|
api libs.firebase.analytics
|
|
api libs.firebase.crashlytics
|
|
api libs.retrofit.converter.gson
|
|
api libs.retrofit.retrofit
|
|
|
|
implementation project(':navi-uitron')
|
|
implementation platform(libs.androidx.compose.bom)
|
|
implementation platform(libs.okhttp.bom)
|
|
implementation libs.android.material
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.activity.compose
|
|
implementation libs.androidx.compose.material
|
|
implementation libs.androidx.compose.ui.graphics
|
|
implementation libs.androidx.compose.ui.toolingPreview
|
|
implementation libs.androidx.compose.ui.ui
|
|
implementation libs.androidx.constraintlayoutCompose
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.hilt.navigation.compose
|
|
implementation libs.androidx.lifecycle.viewmodel.ktx
|
|
implementation libs.androidx.navigation.compose
|
|
implementation libs.androidx.paging.compose
|
|
implementation libs.androidx.paging.runtime.ktx
|
|
implementation libs.androidx.profileinstaller
|
|
implementation libs.androidx.room.ktx
|
|
implementation libs.androidx.room.paging
|
|
implementation libs.androidx.room.runtime
|
|
implementation libs.coil.svg
|
|
implementation libs.dagger.hiltAndroid
|
|
implementation libs.gson
|
|
implementation libs.navi.alfred
|
|
implementation libs.okhttp.loggingIntercepter
|
|
|
|
androidTestImplementation libs.androidx.test.espresso.core
|
|
androidTestImplementation libs.androidx.test.junit
|
|
|
|
testImplementation libs.junit
|
|
|
|
ksp libs.androidx.hilt.compiler
|
|
ksp libs.androidx.room.compiler
|
|
ksp libs.dagger.hiltCompiler
|
|
}
|