mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
41 lines
956 B
Kotlin
41 lines
956 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
alias(androidx.plugins.library)
|
|
alias(kotlinx.plugins.android)
|
|
alias(kotlinx.plugins.compose.compiler)
|
|
}
|
|
|
|
android {
|
|
namespace = "yokai.presentation.widget"
|
|
|
|
defaultConfig {
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.core)
|
|
implementation(projects.data)
|
|
implementation(projects.domain)
|
|
implementation(projects.i18n)
|
|
implementation(projects.presentation.core)
|
|
implementation(projects.source.api) // Access to SManga
|
|
|
|
implementation(androidx.glance.appwidget)
|
|
|
|
implementation(libs.coil3)
|
|
}
|
|
|
|
tasks {
|
|
withType<KotlinCompile> {
|
|
compilerOptions.freeCompilerArgs.addAll(
|
|
"-opt-in=coil3.annotation.ExperimentalCoilApi",
|
|
)
|
|
}
|
|
}
|