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.composeuitest)
testImplementation(libs.jewelstandalone)
// Workaround for running tests on Windows and Linux
// It provides necessary Skiko runtime native binaries
testImplementation(libs.skikoAwtRuntimeAll)
intellijPlatform {
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))

View File

@ -6,6 +6,7 @@ hamcrest = "2.2"
# Has to be in sync with IntelliJ Platform
composeuitest = "1.8.0-alpha04"
jewelstandalone = "0.29.0-251.27828"
skikoAwtRuntimeAll = "0.9.22"
# plugins
changelog = "2.2.1"
@ -18,6 +19,8 @@ opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "ope
hamcrest = { group = "org.hamcrest", name = "hamcrest", version.ref = "hamcrest" }
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" }
skikoAwtRuntimeAll = { group = "org.jetbrains.skiko", name = "skiko-awt-runtime-all", version.ref = "skikoAwtRuntimeAll" }
[plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }