47 lines
1.1 KiB
Kotlin
47 lines
1.1 KiB
Kotlin
import com.flexcode.yummy.buidlsrc.Libs
|
|
import com.flexcode.yummy.buidlsrc.SDK
|
|
|
|
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-parcelize")
|
|
id("org.jlleitschuh.gradle.ktlint")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.flexcode.yummy.domain"
|
|
compileSdk = SDK.max
|
|
|
|
defaultConfig {
|
|
minSdk = SDK.min
|
|
targetSdk = SDK.max
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
// consumerProguardFiles = "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
getByName("release") {
|
|
isMinifyEnabled = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":common"))
|
|
implementation(Libs.Coroutines.core)
|
|
|
|
implementation(Libs.Retrofit.retrofitConverter)
|
|
}
|