-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
31 lines (25 loc) · 1.38 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
rootProject.name = "spock-intellij-plugin"
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
version("kotlin", "2.0.20")
plugin("kotlin", "org.jetbrains.kotlin.jvm").versionRef("kotlin")
plugin("intellij", "org.jetbrains.intellij.platform").version("2.1.0")
plugin("changelog", "org.jetbrains.changelog").version("2.2.1")
library("kotlin-stdlib", "org.jetbrains.kotlin", "kotlin-stdlib").versionRef("kotlin")
}
create("testLibs") {
version("groovy", "4.0.23")
version("spock", "2.4-M4-groovy-4.0")
library("groovy", "org.apache.groovy", "groovy").versionRef("groovy")
// A workaround: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-faq.html#junit5-test-framework-refers-to-junit4
library("junit4", "junit", "junit").version("4.13.2")
// Allows mocking final classes
library("mockito-core", "org.mockito", "mockito-core").version("5.14.0")
// Allows mocking classes without a non-parametric constructor
library("objenesis", "org.objenesis", "objenesis").version("3.4")
library("spock-core", "org.spockframework", "spock-core").versionRef("spock")
bundle("unit-spec", listOf("groovy", "objenesis", "spock-core"))
}
}
}