Add test dependencies and update libraries in build files

This commit is contained in:
Nebojsa Vuksic 2025-07-31 14:12:51 +02:00
parent 54e147242e
commit 88c1d4b4bd
2 changed files with 12 additions and 0 deletions

View File

@ -26,11 +26,16 @@ repositories {
intellijPlatform {
defaultRepositories()
}
// Needed for tests
google()
}
dependencies {
testImplementation(libs.junit)
testImplementation(libs.opentest4j)
testImplementation(libs.hamcrest)
testImplementation(libs.composeuitest)
testImplementation(libs.jewelstandalone)
intellijPlatform {
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))

View File

@ -2,6 +2,10 @@
# libraries
junit = "4.13.2"
opentest4j = "1.3.0"
hamcrest = "2.2"
# Has to be in sync with IntelliJ Platform
composeuitest="1.8.0-alpha04"
jewelstandalone="0.29.0-251.27828"
# plugins
changelog = "2.2.1"
@ -13,6 +17,9 @@ qodana = "2024.3.4"
[libraries]
junit = { group = "junit", name = "junit", version.ref = "junit" }
opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" }
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" }
[plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }