Skip to content

Commit

Permalink
Merge pull request #248 from fraktalio/feature/new-default-hierarchy-…
Browse files Browse the repository at this point in the history
…template

Conforming to new default hierarchy template for setting up multiplatform projects
  • Loading branch information
idugalic committed Nov 4, 2023
2 parents 720d978 + 17b1003 commit f8c1baf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
7 changes: 3 additions & 4 deletions application-arrow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ kotlin {
macosX64()
macosArm64()

tvos()
tvosSimulatorArm64()

watchosArm32()
Expand All @@ -36,20 +35,20 @@ kotlin {
iosSimulatorArm64()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation(libs.coroutines.core)
api(libs.arrow.core)
api(projects.application)
}
}
val commonTest by getting {
commonTest {
dependencies {
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
}
}
val jvmTest by getting {
jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
Expand Down
7 changes: 3 additions & 4 deletions application-vanilla/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ kotlin {
macosX64()
macosArm64()

tvos()
tvosSimulatorArm64()

watchosArm32()
Expand All @@ -36,20 +35,20 @@ kotlin {
iosSimulatorArm64()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation(libs.coroutines.core)
api(projects.application)
}
}
val commonTest by getting {
commonTest {
dependencies {
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
}
}

val jvmTest by getting {
jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
Expand Down
3 changes: 1 addition & 2 deletions application/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ kotlin {
macosX64()
macosArm64()

tvos()
tvosSimulatorArm64()

watchosArm32()
Expand All @@ -35,7 +34,7 @@ kotlin {
iosSimulatorArm64()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation(libs.coroutines.core)
api(projects.domain)
Expand Down
7 changes: 3 additions & 4 deletions domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ kotlin {
macosX64()
macosArm64()

tvos()
tvosSimulatorArm64()

watchosArm32()
Expand All @@ -36,18 +35,18 @@ kotlin {
iosSimulatorArm64()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation(libs.coroutines.core)
}
}
val commonTest by getting {
commonTest {
dependencies {
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
}
}
val jvmTest by getting {
jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
Expand Down

0 comments on commit f8c1baf

Please sign in to comment.