99 lines
2.7 KiB
Groovy
99 lines
2.7 KiB
Groovy
plugins {
|
|
alias libs.plugins.android.library
|
|
alias libs.plugins.hilt.android
|
|
alias libs.plugins.kotlin.android
|
|
alias libs.plugins.kotlin.compose
|
|
alias libs.plugins.kotlin.kapt
|
|
alias libs.plugins.kotlin.parcelize
|
|
alias libs.plugins.ksp
|
|
}
|
|
|
|
android {
|
|
namespace 'com.navi.rr'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
targetSdk 34
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
multiDexEnabled true
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
dataBinding true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
benchmark {
|
|
initWith release
|
|
matchingFallbacks = ['release']
|
|
}
|
|
}
|
|
compileOptions {
|
|
incremental true
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
freeCompilerArgs += ["-Xstring-concat=inline"]
|
|
jvmTarget = '17'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += ['META-INF']
|
|
}
|
|
}
|
|
testOptions {
|
|
unitTests.returnDefaultValues = true
|
|
}
|
|
flavorDimensions = ["app"]
|
|
productFlavors {
|
|
qa {
|
|
isDefault true
|
|
dimension "app"
|
|
}
|
|
prod {
|
|
dimension "app"
|
|
}
|
|
}
|
|
}
|
|
|
|
ksp {
|
|
arg("compose-destinations.codeGenPackageName", "com.navi.rr.compose")
|
|
}
|
|
|
|
dependencies {
|
|
api project(":navi-common")
|
|
implementation libs.accompanist.systemuicontroller
|
|
implementation libs.android.material
|
|
implementation libs.androidx.activity.activity
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.fragment.ktx
|
|
implementation libs.androidx.lifecycle.runtime.compose
|
|
implementation libs.androidx.paging.compose
|
|
implementation libs.dagger.hiltAndroid
|
|
implementation libs.mvel2
|
|
implementation libs.raamcosta.composeDestinations.bottomSheet
|
|
implementation libs.raamcosta.composeDestinations.core
|
|
|
|
androidTestImplementation libs.androidx.arch.core.testing
|
|
androidTestImplementation libs.androidx.test.espresso.core
|
|
androidTestImplementation libs.androidx.test.junit
|
|
|
|
testImplementation libs.androidx.arch.core.testing
|
|
testImplementation libs.junit
|
|
testImplementation libs.kotlinx.coroutines.test
|
|
testImplementation libs.mockk
|
|
|
|
ksp libs.androidx.hilt.compiler
|
|
ksp libs.dagger.hiltCompiler
|
|
ksp libs.raamcosta.composeDestinations.ksp
|
|
}
|