Commit 854e929
committed
Restrict latestDepTestLibrary overrides to main test/latestDepTest configurations
The previous PR broadened the resolutionStrategy filter to all 'test*' configurations
(case-insensitive contains) so that custom JvmTestSuite source sets get pinning. However
this also caused latestDepTestLibrary overrides (intended only for the main test/latestDepTest
suites) to be applied to those custom suites, breaking modules that declare a JvmTestSuite
with explicit older versions (e.g. play-mvc-2.4 play24Test, kubernetes-client-7.0 version20Test).
Split the filter: keep overrides scoped to test/latestDepTest, broaden only the pinning logic.1 parent a52a81a commit 854e929
1 file changed
Lines changed: 17 additions & 9 deletions
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | 176 | | |
179 | | - | |
180 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
186 | 194 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
192 | 200 | | |
193 | 201 | | |
194 | 202 | | |
| |||
0 commit comments