mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
Co-authored-by: AntsyLich <59261191+antsylich@users.noreply.github.com>
34 lines
1,008 B
Kotlin
34 lines
1,008 B
Kotlin
plugins {
|
|
id("yokai.android.library")
|
|
id("yokai.android.library.compose")
|
|
kotlin("android")
|
|
}
|
|
|
|
android {
|
|
namespace = "yokai.presentation.core"
|
|
|
|
defaultConfig {
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll(
|
|
"-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
|
"-opt-in=androidx.compose.animation.graphics.ExperimentalAnimationGraphicsApi",
|
|
"-opt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
"-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi",
|
|
"-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
|
|
"-opt-in=androidx.compose.ui.ExperimentalComposeUiApi",
|
|
"-opt-in=kotlinx.coroutines.FlowPreview",
|
|
)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.material)
|
|
|
|
implementation(compose.bundles.compose)
|
|
}
|