64 lines
1.6 KiB
Groovy
64 lines
1.6 KiB
Groovy
plugins {
|
|
alias libs.plugins.android.library
|
|
alias libs.plugins.kotlin.android
|
|
alias libs.plugins.kotlin.parcelize
|
|
}
|
|
|
|
android {
|
|
namespace 'com.navi.mqtt'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 23
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
benchmark {
|
|
initWith release
|
|
matchingFallbacks = ['release']
|
|
}
|
|
}
|
|
flavorDimensions = ["app"]
|
|
productFlavors {
|
|
qa {
|
|
isDefault true
|
|
dimension "app"
|
|
}
|
|
prod {
|
|
dimension "app"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
freeCompilerArgs += ["-Xstring-concat=inline"]
|
|
jvmTarget = '17'
|
|
}
|
|
lint {
|
|
disable 'NullSafeMutableLiveData'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":navi-common")
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.lifecycle.runtime.ktx
|
|
implementation libs.gojek.courier.courier
|
|
implementation libs.gojek.courier.courierMessageAdapterGson
|
|
implementation libs.gojek.courier.courierMessageAdapterText
|
|
implementation libs.gojek.courier.courierStreamAdapterRxjava2
|
|
implementation libs.gojek.courier.mqttClient
|
|
implementation libs.gojek.courier.timerPingsender
|
|
implementation libs.gson
|
|
implementation libs.jakewharton.timber
|
|
}
|