Skip to content

Commit 7abca62

Browse files
committed
~ Swing module does not need javafx
1 parent 8dcfc69 commit 7abca62

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed
+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
2-
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
plugins {
6-
id 'org.openjfx.javafxplugin' version '0.0.8'
7-
}
8-
9-
javafx {
10-
version = javafx_version
11-
modules = [ 'javafx.controls' ]
12-
configuration = 'compile'
13-
}
14-
155
dependencies {
166
testCompile project(':kotlinx-coroutines-jdk8')
177
}

ui/kotlinx-coroutines-swing/test/SwingTest.kt

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
2-
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

55
package kotlinx.coroutines.swing
66

7-
import javafx.application.*
87
import kotlinx.coroutines.*
98
import org.junit.*
109
import org.junit.Test
@@ -81,7 +80,7 @@ class SwingTest : TestBase() {
8180
join(component)
8281
}
8382

84-
private suspend fun join(component: SwingTest.SwingComponent) {
83+
private suspend fun join(component: SwingComponent) {
8584
component.coroutineContext[Job]!!.join()
8685
}
8786

0 commit comments

Comments
 (0)