mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
refactor: Rework buildSrc
Co-authored-by: AntsyLich <59261191+antsylich@users.noreply.github.com>
This commit is contained in:
parent
b201e410a3
commit
c09c4045e2
19 changed files with 218 additions and 86 deletions
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
alias(androidx.plugins.library)
|
||||
alias(kotlinx.plugins.android)
|
||||
id("yokai.android.library")
|
||||
id("yokai.android.library.compose")
|
||||
kotlin("android")
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -12,6 +13,22 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue