Skip to content

Commit

Permalink
Remove platform-specific dependencies on JavaFx artifacts (#2369)
Browse files Browse the repository at this point in the history
* Remove platform-specific dependencies on JavaFx artifacts

Fixes #2360
  • Loading branch information
elizarov committed Nov 26, 2020
1 parent c542b83 commit 0e5aefd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ui/kotlinx-coroutines-javafx/build.gradle.kts
Expand Up @@ -3,13 +3,20 @@
*/

plugins {
id("org.openjfx.javafxplugin")
id("org.openjfx.javafxplugin") version "0.0.9"
}

javafx {
version = version("javafx")
modules = listOf("javafx.controls")
configuration = "compile"
configuration = "compileOnly"
}

sourceSets {
test.configure {
compileClasspath += configurations.compileOnly
runtimeClasspath += configurations.compileOnly
}
}

val JDK_18: String? by lazy {
Expand Down

0 comments on commit 0e5aefd

Please sign in to comment.