all: reorganize dependencies and improve desktop packaging

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Harsh Shandilya 2021-04-09 18:35:35 +00:00 committed by GitHub
parent 388014d62b
commit 4a51dc8d64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 37 additions and 21 deletions

View file

@ -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"))