File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/main/kotlin/com/github/pushpavel/autocp/common/helpers Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ plugins {
2222 // Kotlin support
2323 id(" org.jetbrains.kotlin.jvm" ) version " 1.5.31"
2424 // Gradle IntelliJ Plugin
25- id(" org.jetbrains.intellij" ) version " 1.2.1 "
25+ id(" org.jetbrains.intellij" ) version " 1.5.2 "
2626 // Gradle Changelog Plugin
2727 id(" org.jetbrains.changelog" ) version " 1.3.0"
2828
@@ -93,6 +93,10 @@ changelog {
9393
9494tasks {
9595
96+ buildSearchableOptions {
97+ enabled = false
98+ }
99+
96100 test {
97101 useJUnitPlatform()
98102 }
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ import kotlinx.coroutines.CoroutineExceptionHandler
44import kotlinx.coroutines.CoroutineScope
55import kotlinx.coroutines.Dispatchers
66import kotlinx.coroutines.SupervisorJob
7+ import kotlinx.coroutines.swing.Swing
78
89val defaultExceptionHandler = CoroutineExceptionHandler { _, t -> t.printStackTrace() }
910
1011fun mainScope (): CoroutineScope {
11- return CoroutineScope (Dispatchers .Main + SupervisorJob () + defaultExceptionHandler)
12+ return CoroutineScope (Dispatchers .Swing + SupervisorJob () + defaultExceptionHandler)
1213}
1314
1415fun defaultScope (): CoroutineScope {
You can’t perform that action at this time.
0 commit comments