mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 12:07:03 +05:30
all: reorganize dependencies and improve desktop packaging
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
388014d62b
commit
4a51dc8d64
8 changed files with 37 additions and 21 deletions
|
@ -24,24 +24,24 @@ kotlin {
|
|||
android()
|
||||
|
||||
sourceSets {
|
||||
val androidMain by getting {
|
||||
named("androidMain") {
|
||||
dependencies {
|
||||
implementation(Dependencies.AndroidX.browser)
|
||||
}
|
||||
}
|
||||
|
||||
val commonMain by getting {
|
||||
named("commonMain") {
|
||||
dependencies {
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.ui)
|
||||
api(compose.runtime)
|
||||
api(compose.ui)
|
||||
}
|
||||
}
|
||||
|
||||
val androidTest by getting { dependencies { implementation(kotlin("test-junit")) } }
|
||||
named("androidTest") { dependencies { implementation(kotlin("test-junit")) } }
|
||||
|
||||
val jvmTest by getting { dependencies { implementation(kotlin("test-junit")) } }
|
||||
named("jvmTest") { dependencies { implementation(kotlin("test-junit")) } }
|
||||
|
||||
val commonTest by getting {
|
||||
named("commonTest") {
|
||||
dependencies {
|
||||
implementation(kotlin("test-common"))
|
||||
implementation(kotlin("test-annotations-common"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue