2021-02-07 20:03:55 +01:00
|
|
|
import org.jetbrains.compose.compose
|
|
|
|
|
2021-01-26 13:54:28 +01:00
|
|
|
plugins {
|
|
|
|
id("multiplatform-compose-setup")
|
|
|
|
id("android-setup")
|
2021-02-08 21:05:40 +01:00
|
|
|
id("kotlin-parcelize")
|
2021-01-26 13:54:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
2021-01-26 20:58:11 +01:00
|
|
|
commonMain {
|
2021-01-26 13:54:28 +01:00
|
|
|
dependencies {
|
2021-02-09 10:05:04 +01:00
|
|
|
implementation(compose.materialIconsExtended)
|
|
|
|
//implementation("org.jetbrains.compose.material:material-icons-extended:0.3.0-build150")
|
2021-01-31 12:33:41 +01:00
|
|
|
implementation(project(":common:dependency-injection"))
|
2021-02-09 20:42:01 +01:00
|
|
|
//implementation("com.alialbaali.kamel:kamel-image:0.0.7")
|
2021-01-31 12:33:41 +01:00
|
|
|
implementation(project(":common:data-models"))
|
|
|
|
implementation(project(":common:database"))
|
2021-02-01 17:33:30 +01:00
|
|
|
implementation(SqlDelight.coroutineExtensions)
|
|
|
|
implementation(MVIKotlin.coroutines)
|
2021-01-31 12:33:41 +01:00
|
|
|
implementation(MVIKotlin.mvikotlin)
|
|
|
|
implementation(Decompose.decompose)
|
|
|
|
implementation(Decompose.extensionsCompose)
|
2021-02-02 21:05:12 +01:00
|
|
|
|
|
|
|
//Coil-Image Loading
|
|
|
|
Versions.coilVersion.let{
|
|
|
|
implementation("dev.chrisbanes.accompanist:accompanist-coil:$it")
|
|
|
|
implementation("dev.chrisbanes.accompanist:accompanist-insets:$it")
|
|
|
|
}
|
2021-01-26 13:54:28 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-09 10:05:04 +01:00
|
|
|
/*
|
2021-02-01 17:33:30 +01:00
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
|
kotlinOptions {
|
2021-02-09 10:05:04 +01:00
|
|
|
//useIR = true
|
2021-02-08 21:05:40 +01:00
|
|
|
freeCompilerArgs = listOf("-Xallow-jvm-ir-dependencies",
|
|
|
|
"-Xallow-unstable-dependencies","-Xskip-prerelease-check",
|
2021-02-01 17:33:30 +01:00
|
|
|
"-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
"-Xuse-experimental=kotlinx.coroutines.TheAnnotationYouWantToDisable"
|
|
|
|
)
|
|
|
|
}
|
2021-02-09 10:05:04 +01:00
|
|
|
}*/
|