Add skikoAwtRuntimeAll dependency for testing

This commit is contained in:
Nebojsa Vuksic 2025-08-28 16:22:54 +02:00
parent d6bec6e21c
commit f81055ec9f
2 changed files with 10 additions and 4 deletions

View File

@ -44,6 +44,9 @@ dependencies {
testImplementation(libs.hamcrest) testImplementation(libs.hamcrest)
testImplementation(libs.composeuitest) testImplementation(libs.composeuitest)
testImplementation(libs.jewelstandalone) testImplementation(libs.jewelstandalone)
// Workaround for running tests on Windows and Linux
// It provides necessary Skiko runtime native binaries
testImplementation(libs.skikoAwtRuntimeAll)
intellijPlatform { intellijPlatform {
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion")) create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))

View File

@ -4,8 +4,9 @@ junit = "4.13.2"
opentest4j = "1.3.0" opentest4j = "1.3.0"
hamcrest = "2.2" hamcrest = "2.2"
# Has to be in sync with IntelliJ Platform # Has to be in sync with IntelliJ Platform
composeuitest="1.8.0-alpha04" composeuitest = "1.8.0-alpha04"
jewelstandalone="0.29.0-251.27828" jewelstandalone = "0.29.0-251.27828"
skikoAwtRuntimeAll = "0.9.22"
# plugins # plugins
changelog = "2.2.1" changelog = "2.2.1"
@ -16,8 +17,10 @@ kotlin = "2.1.20"
junit = { group = "junit", name = "junit", version.ref = "junit" } junit = { group = "junit", name = "junit", version.ref = "junit" }
opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" } opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" }
hamcrest = { group = "org.hamcrest", name = "hamcrest", version.ref = "hamcrest" } hamcrest = { group = "org.hamcrest", name = "hamcrest", version.ref = "hamcrest" }
composeuitest = { group = "org.jetbrains.compose.ui", name ="ui-test-junit4-desktop", version.ref="composeuitest" } composeuitest = { group = "org.jetbrains.compose.ui", name = "ui-test-junit4-desktop", version.ref = "composeuitest" }
jewelstandalone = { group = "org.jetbrains.jewel", name ="jewel-int-ui-standalone", version.ref="jewelstandalone" } jewelstandalone = { group = "org.jetbrains.jewel", name = "jewel-int-ui-standalone", version.ref = "jewelstandalone" }
skikoAwtRuntimeAll = { group = "org.jetbrains.skiko", name = "skiko-awt-runtime-all", version.ref = "skikoAwtRuntimeAll" }
[plugins] [plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }