mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Reorganize source tree
This commit is contained in:
@@ -51,6 +51,7 @@ kotlin {
|
|||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
commonMain {
|
commonMain {
|
||||||
|
kotlin { srcDir "src/main/common" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('stdlib-common')
|
implementation kotlin('stdlib-common')
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.2.0-alpha-2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.2.0-alpha-2'
|
||||||
@@ -58,6 +59,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
commonTest {
|
commonTest {
|
||||||
|
kotlin { srcDir "src/test/common" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('test-common')
|
implementation kotlin('test-common')
|
||||||
implementation kotlin('test-annotations-common')
|
implementation kotlin('test-annotations-common')
|
||||||
@@ -65,6 +67,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jvmMain {
|
jvmMain {
|
||||||
|
kotlin { srcDir "src/main/jvm" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('stdlib-jdk8')
|
implementation kotlin('stdlib-jdk8')
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2'
|
||||||
@@ -72,6 +75,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jvmTest {
|
jvmTest {
|
||||||
|
kotlin { srcDir "src/test/jvm" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('test')
|
implementation kotlin('test')
|
||||||
implementation kotlin('test-junit')
|
implementation kotlin('test-junit')
|
||||||
@@ -80,6 +84,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jsMain {
|
jsMain {
|
||||||
|
kotlin { srcDir "src/main/js" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('stdlib-js')
|
implementation kotlin('stdlib-js')
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-js:1.2.0-alpha-2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-js:1.2.0-alpha-2'
|
||||||
@@ -87,18 +92,21 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jsTest {
|
jsTest {
|
||||||
|
kotlin { srcDir "src/test/js" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation kotlin('test-js')
|
implementation kotlin('test-js')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iosMain {
|
iosMain {
|
||||||
|
kotlin { srcDir "src/main/ios" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.2.0-alpha-2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.2.0-alpha-2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iosTest {
|
iosTest {
|
||||||
|
kotlin { srcDir "src/test/ios" }
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.2.0-alpha-2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.2.0-alpha-2'
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user