2023-01-26 17:53:24 -05:00
|
|
|
plugins {
|
2024-04-06 01:07:11 -04:00
|
|
|
id("mihon.library")
|
|
|
|
id("mihon.library.compose")
|
2023-01-27 22:31:12 -05:00
|
|
|
kotlin("android")
|
2023-01-26 17:53:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.presentation.core"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-31 10:17:27 -04:00
|
|
|
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",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-26 17:53:24 -05:00
|
|
|
dependencies {
|
2024-01-29 04:11:28 -05:00
|
|
|
api(projects.core.common)
|
2024-01-23 07:35:58 -05:00
|
|
|
api(projects.i18n)
|
2023-07-10 17:25:52 -04:00
|
|
|
|
2023-02-18 15:52:52 -05:00
|
|
|
// Compose
|
2023-02-20 10:12:41 -05:00
|
|
|
implementation(compose.activity)
|
2023-02-18 15:52:52 -05:00
|
|
|
implementation(compose.foundation)
|
|
|
|
implementation(compose.material3.core)
|
|
|
|
implementation(compose.material.icons)
|
|
|
|
implementation(compose.animation)
|
|
|
|
implementation(compose.animation.graphics)
|
2023-06-23 08:26:35 -04:00
|
|
|
debugImplementation(compose.ui.tooling)
|
|
|
|
implementation(compose.ui.tooling.preview)
|
2023-02-18 15:52:52 -05:00
|
|
|
implementation(compose.ui.util)
|
2023-11-11 22:43:50 -05:00
|
|
|
|
2024-11-20 06:44:52 -05:00
|
|
|
implementation(androidx.paging.runtime)
|
|
|
|
implementation(androidx.paging.compose)
|
2023-11-11 22:43:50 -05:00
|
|
|
implementation(kotlinx.immutables)
|
2023-02-18 15:52:52 -05:00
|
|
|
}
|