117 lines
3.4 KiB
Groovy
117 lines
3.4 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.parcelize
|
|
alias libs.plugins.ksp
|
|
}
|
|
|
|
android {
|
|
namespace 'com.navi.payment'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
targetSdk 34
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
aidl true
|
|
compose true
|
|
dataBinding true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
benchmark {
|
|
initWith release
|
|
matchingFallbacks = ['release']
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
freeCompilerArgs += ["-Xstring-concat=inline"]
|
|
jvmTarget = '17'
|
|
}
|
|
flavorDimensions = ["app"]
|
|
productFlavors {
|
|
qa {
|
|
isDefault true
|
|
dimension "app"
|
|
|
|
resValue 'string', 'navi_pay_manifest_url', 'https://payment-request-setup.firebaseapp.com'
|
|
}
|
|
prod {
|
|
dimension "app"
|
|
|
|
resValue 'string', 'navi_pay_manifest_url', 'https://pl.navifinserv.com/payments-gateway'
|
|
}
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
merges += "META-INF/LICENSE.md"
|
|
merges += "META-INF/LICENSE-notice.md"
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
api project(":navi-common")
|
|
api project(":navi-pay")
|
|
api libs.cashfree
|
|
api libs.razorpay
|
|
|
|
implementation project(":navi-payments-shared")
|
|
implementation libs.accompanist.permissions
|
|
implementation libs.android.gms.playServicesMlkitTextRecognition
|
|
implementation libs.android.material
|
|
implementation libs.androidx.activity.activity
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.camera.mlkit.vision
|
|
implementation libs.androidx.compose.runtime.livedata
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.fragment.ktx
|
|
implementation libs.androidx.lifecycle.livedata.ktx
|
|
implementation libs.androidx.lifecycle.runtime.ktx
|
|
implementation libs.androidx.lifecycle.viewmodel.ktx
|
|
implementation libs.dagger.hiltAndroid
|
|
implementation libs.accompanist.systemuicontroller
|
|
implementation libs.raamcosta.composeDestinations.animation.core
|
|
|
|
debugImplementation libs.chucker.library
|
|
|
|
benchmarkImplementation libs.chucker.libraryNoOp
|
|
|
|
releaseImplementation libs.chucker.libraryNoOp
|
|
|
|
androidTestImplementation libs.androidx.test.junit
|
|
|
|
testImplementation libs.dagger.hiltAndroidTesting
|
|
testImplementation libs.junit
|
|
testImplementation libs.kotlinx.coroutines.test
|
|
testImplementation libs.mockk
|
|
|
|
androidTestImplementation libs.androidx.test.runner
|
|
androidTestImplementation libs.dagger.hiltAndroidTesting
|
|
androidTestImplementation libs.kotlinx.coroutines.test
|
|
androidTestImplementation libs.mockk.android
|
|
androidTestImplementation libs.turbine
|
|
androidTestImplementation libs.androidx.work.testing
|
|
|
|
ksp libs.androidx.hilt.compiler
|
|
ksp libs.androidx.room.compiler
|
|
ksp libs.dagger.hiltCompiler
|
|
ksp libs.raamcosta.composeDestinations.ksp
|
|
}
|