65 lines
1.5 KiB
Kotlin
65 lines
1.5 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = libs.versions.compose.get()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":base"))
|
|
implementation(project(":data"))
|
|
implementation(project(":common-ui-resources"))
|
|
implementation(project(":common-ui-compose"))
|
|
|
|
// Androidx
|
|
implementation(libs.core)
|
|
implementation(libs.appcompat)
|
|
implementation(libs.bundles.activity)
|
|
implementation(libs.navigation.compose)
|
|
|
|
// Compose
|
|
implementation(libs.bundles.compose)
|
|
|
|
// Google
|
|
implementation(libs.material)
|
|
implementation(libs.accompanist.swiperefresh)
|
|
|
|
// DI
|
|
implementation(libs.androidx.hilt.compose)
|
|
implementation(libs.hilt.library)
|
|
kapt(libs.hilt.compiler)
|
|
|
|
// UI
|
|
implementation(libs.coil.compose)
|
|
|
|
// Test
|
|
testImplementation("junit:junit:4.+")
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.3")
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
|
|
}
|