47 lines
1.1 KiB
Kotlin
47 lines
1.1 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.smoa.core.common"
|
|
compileSdk = AppConfig.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = AppConfig.minSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(Dependencies.androidxCoreKtx)
|
|
implementation(Dependencies.androidxLifecycleRuntimeKtx)
|
|
implementation(Dependencies.coroutinesCore)
|
|
implementation(Dependencies.coroutinesAndroid)
|
|
|
|
implementation(Dependencies.hiltAndroid)
|
|
kapt(Dependencies.hiltAndroidCompiler)
|
|
|
|
// Testing
|
|
testImplementation(Dependencies.junit)
|
|
testImplementation(Dependencies.mockk)
|
|
testImplementation(Dependencies.coroutinesTest)
|
|
testImplementation(Dependencies.truth)
|
|
}
|