mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-22 16:49:22 +00:00
Add test dependencies and update libraries in build files
This commit is contained in:
parent
54e147242e
commit
88c1d4b4bd
@ -26,11 +26,16 @@ repositories {
|
|||||||
intellijPlatform {
|
intellijPlatform {
|
||||||
defaultRepositories()
|
defaultRepositories()
|
||||||
}
|
}
|
||||||
|
// Needed for tests
|
||||||
|
google()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(libs.junit)
|
testImplementation(libs.junit)
|
||||||
testImplementation(libs.opentest4j)
|
testImplementation(libs.opentest4j)
|
||||||
|
testImplementation(libs.hamcrest)
|
||||||
|
testImplementation(libs.composeuitest)
|
||||||
|
testImplementation(libs.jewelstandalone)
|
||||||
|
|
||||||
intellijPlatform {
|
intellijPlatform {
|
||||||
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
|
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
|
||||||
|
|||||||
@ -2,6 +2,10 @@
|
|||||||
# libraries
|
# libraries
|
||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
opentest4j = "1.3.0"
|
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
|
# plugins
|
||||||
changelog = "2.2.1"
|
changelog = "2.2.1"
|
||||||
@ -13,6 +17,9 @@ qodana = "2024.3.4"
|
|||||||
[libraries]
|
[libraries]
|
||||||
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" }
|
||||||
|
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]
|
[plugins]
|
||||||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user