121 lines
3.3 KiB
Groovy
121 lines
3.3 KiB
Groovy
plugins {
|
|
alias libs.plugins.android.library
|
|
alias libs.plugins.hilt.android
|
|
alias libs.plugins.kotlin.android
|
|
alias libs.plugins.kotlin.kapt
|
|
alias libs.plugins.kotlin.parcelize
|
|
alias libs.plugins.ksp
|
|
}
|
|
|
|
android {
|
|
namespace 'com.navi.pay'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
freeCompilerArgs += ["-Xstring-concat=inline"]
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
dataBinding true
|
|
viewBinding true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion libs.versions.compose.lib.get()
|
|
}
|
|
lint {
|
|
disable 'NullSafeMutableLiveData'
|
|
}
|
|
libraryVariants.all { variant ->
|
|
variant.addJavaSourceFoldersToModel(
|
|
new File(buildDir, "generated/ksp/${variant.name}/kotlin")
|
|
)
|
|
}
|
|
flavorDimensions = ["app"]
|
|
productFlavors {
|
|
qa {
|
|
isDefault true
|
|
dimension "app"
|
|
}
|
|
uitest {
|
|
dimension "app"
|
|
}
|
|
dev {
|
|
dimension "app"
|
|
}
|
|
prod {
|
|
dimension "app"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":navi-common")
|
|
devImplementation project(path: ':npci-upi-cl', configuration: 'uat')
|
|
qaImplementation project(path: ':npci-upi-cl', configuration: 'uat')
|
|
uitestImplementation project(path: ':npci-upi-cl', configuration: 'uat')
|
|
prodImplementation project(path: ':npci-upi-cl', configuration: 'prod')
|
|
|
|
implementation libs.accompanist.pager
|
|
implementation libs.accompanist.pagerIndicators
|
|
implementation libs.accompanist.permissions
|
|
implementation libs.accompanist.systemuicontroller
|
|
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.camera.mlkit.vision
|
|
implementation libs.androidx.constraintlayout
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.core.google.shortcuts
|
|
implementation libs.androidx.lifecycle.viewmodel.ktx
|
|
implementation libs.androidx.paging.compose
|
|
implementation libs.androidx.room.paging
|
|
|
|
implementation libs.android.material
|
|
implementation libs.android.play.core.ktx
|
|
|
|
implementation libs.dagger.hiltAndroid
|
|
|
|
implementation libs.mlkit.barcodeScanning
|
|
|
|
implementation libs.pierfrancescosoffritti.androidyoutubeplayer
|
|
|
|
implementation libs.raamcosta.composeDestinations.animation.core
|
|
|
|
implementation libs.zetetic.android.database.sqlcipher
|
|
|
|
implementation libs.zxing
|
|
|
|
kapt libs.androidx.hilt.compiler
|
|
|
|
kapt libs.dagger.hiltAndroidCompiler
|
|
|
|
ksp libs.androidx.room.compiler
|
|
ksp libs.raamcosta.composeDestinations.ksp
|
|
|
|
androidTestImplementation libs.androidx.test.junit
|
|
|
|
testImplementation libs.junit
|
|
|
|
testImplementation libs.kotlinx.coroutines.test
|
|
|
|
testImplementation libs.mockk
|
|
}
|