54 lines
No EOL
1.3 KiB
Kotlin
54 lines
No EOL
1.3 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
kotlin("kapt")
|
|
id("com.google.dagger.hilt.android")
|
|
}
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
|
compileSdk = AppConfig.compileSdkVersion
|
|
minSdk = AppConfig.minSdkVersion
|
|
targetSdk = AppConfig.targetSdkVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
isCoreLibraryDesugaringEnabled = false
|
|
}
|
|
|
|
buildTypes {
|
|
create("debug_beta") {
|
|
initWith(getByName("release"))
|
|
BuildConfigFieldFactory(
|
|
fields = listOf(
|
|
Field.Environment("release"),
|
|
Field.TestActionEnabled(true),
|
|
Field.LogEnabled(true),
|
|
),
|
|
builder = ::buildConfigField,
|
|
).create()
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
/** Project*/
|
|
implementation(project(":core:datasource"))
|
|
implementation(project(":core:utils"))
|
|
implementation(project(":features:referral:domain"))
|
|
|
|
/** Time */
|
|
implementation(Library.jodatime)
|
|
|
|
/** DI */
|
|
implementation(Library.hilt)
|
|
kapt(Library.hiltKapt)
|
|
} |