File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<spock .version>2.3-groovy-4.0</spock .version>
19
+ <groovy .version>4.0.15</groovy .version>
19
20
</properties >
20
21
<dependencies >
21
22
<dependency >
34
35
<artifactId >spock-core</artifactId >
35
36
<version >${spock.version} </version >
36
37
<scope >test</scope >
38
+ <exclusions >
39
+ <!-- spock brings apache groovy 4.0.4; but a minimum of 4.0.11 is required to be compatible with JDK 21 -->
40
+ <exclusion >
41
+ <groupId >org.apache.groovy</groupId >
42
+ <artifactId >groovy</artifactId >
43
+ </exclusion >
44
+ </exclusions >
37
45
</dependency >
46
+
47
+ <dependency >
48
+ <groupId >org.apache.groovy</groupId >
49
+ <artifactId >groovy</artifactId >
50
+ <version >${groovy.version} </version >
51
+ <scope >test</scope >
52
+ </dependency >
53
+
38
54
<dependency >
39
55
<groupId >junit</groupId >
40
56
<artifactId >junit</artifactId >
93
109
</systemPropertyVariables >
94
110
</configuration >
95
111
</plugin >
112
+
96
113
<plugin >
97
114
<groupId >org.codehaus.gmavenplus</groupId >
98
115
<artifactId >gmavenplus-plugin</artifactId >
105
122
</executions >
106
123
<dependencies >
107
124
<dependency >
108
- <groupId >org.codehaus.groovy</groupId >
109
- <artifactId >groovy-all</artifactId >
110
- <version >2.4.21</version >
125
+ <groupId >org.apache.groovy</groupId >
126
+ <artifactId >groovy</artifactId >
127
+ <version >${groovy.version} </version >
128
+ <scope >runtime</scope >
111
129
</dependency >
112
130
</dependencies >
113
131
</plugin >
You can’t perform that action at this time.
0 commit comments