Skip to content

Commit 8f2974c

Browse files
committed
Fix #3 Create ticket system objects and implement initial dry run system.
1 parent 9bb9a69 commit 8f2974c

File tree

187 files changed

+2447
-297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+2447
-297
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,5 @@ gradle-app.setting
150150
**/build/
151151

152152
# End of https://www.toptal.com/developers/gitignore/api/jetbrains,kotlin,gradle
153-
*.hprof
153+
*.hprof
154+
**/.DS_Store

.idea/compiler.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

+8-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repositories {
3131
}
3232

3333
kotlin {
34-
js {
34+
js(IR) {
3535
compilations.all {
3636
kotlinOptions {
3737
moduleKind = "umd"
@@ -50,7 +50,7 @@ kotlin {
5050

5151
jvm {
5252
compilations.all {
53-
kotlinOptions.jvmTarget = "1.8"
53+
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
5454
}
5555
testRuns["test"].executionTask.configure {
5656
useJUnit()
@@ -74,11 +74,11 @@ kotlin {
7474

7575
sourceSets {
7676
all {
77-
languageSettings.useExperimentalAnnotation("okio.ExperimentalFileSystem")
78-
languageSettings.useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
79-
languageSettings.useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
77+
languageSettings.optIn("okio.ExperimentalFileSystem")
78+
languageSettings.optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
79+
languageSettings.optIn("kotlinx.coroutines.FlowPreview")
8080
// This is required for Turbine
81-
languageSettings.useExperimentalAnnotation("kotlin.time.ExperimentalTime")
81+
languageSettings.optIn("kotlin.time.ExperimentalTime")
8282
}
8383
// The following snippet causes the IDE to exception, we should test it again in the next IDEA version.
8484
// kotlin.sourceSets.matching { it.name.endsWith("Test") }.configureEach {
@@ -87,7 +87,7 @@ kotlin {
8787

8888
val commonMain by getting {
8989
dependencies {
90-
api(Deps.coroutines) {
90+
api(Deps.Coroutines.core) {
9191
version {
9292
strictly(Versions.coroutines)
9393
}
@@ -106,6 +106,7 @@ kotlin {
106106
implementation(kotlin("reflect"))
107107
implementation(kotlin("test-common"))
108108
implementation(kotlin("test-annotations-common"))
109+
implementation(Deps.Coroutines.test)
109110
implementation(Deps.turbine)
110111
implementation(Deps.Okio.fakeFilesystem)
111112
}

buildSrc/src/main/kotlin/Dependencies.kt

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object Versions {
2-
const val coroutines = "1.5.2-native-mt"
2+
const val coroutines = "1.6.0-native-mt"
33
const val json = "1.3.1"
44
const val kotlin = "1.6.10"
55
const val ktor = "1.6.7"
@@ -11,7 +11,10 @@ object Versions {
1111
}
1212

1313
object Deps {
14-
val coroutines = dep("org.jetbrains.kotlinx:kotlinx-coroutines-core", Versions.coroutines)
14+
object Coroutines {
15+
val core = dep("org.jetbrains.kotlinx:kotlinx-coroutines-core", Versions.coroutines)
16+
val test = dep("org.jetbrains.kotlinx:kotlinx-coroutines-test", Versions.coroutines)
17+
}
1518

1619
object Ktor {
1720
val android = dep("io.ktor:ktor-client-android", Versions.ktor)

0 commit comments

Comments
 (0)