Skip to content

Commit e5322b5

Browse files
committed
Tweak the fix to have less impact
1 parent 4180384 commit e5322b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/framework/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ configurations {
1515
// bringing in different versions of junit, hamcrest and randomizedtesting
1616
// so we exclude them here and re-declare the versions we want below
1717
// to keep the example build happy that does not align transitive dependencies.
18-
//
1918
runtimeElements {
20-
transitive = false
19+
exclude group: 'org.hamcrest'
2120
}
2221
}
2322
dependencies {
@@ -28,7 +27,7 @@ dependencies {
2827
api project(":libs:cli")
2928
api project(":libs:entitlement:bridge")
3029
api "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
31-
api "junit:junit:${versions.junit}"
30+
api("junit:junit:${versions.junit}")
3231
api "org.hamcrest:hamcrest:${versions.hamcrest}"
3332
api "org.apache.lucene:lucene-test-framework:${versions.lucene}"
3433
api "org.apache.lucene:lucene-codecs:${versions.lucene}"

0 commit comments

Comments
 (0)