mirror of
https://github.com/apache/kafka.git
synced 2026-10-28 08:24:58 +08:00
KAFKA-21114: Remove unused hamcrest dependencies and configuration (#23504)
Remove the remaining hamcrest dependencies and related configuration now that the tests have been migrated to JUnit. Reviewers: Ken Huang <s7133700@gmail.com>
This commit is contained in:
1 parent
d6027c4fc7
commit
f5964ac632
5 files changed
-11
No files matched your search
@@ -123,11 +123,6 @@ do
|
||||
CLASSPATH="$CLASSPATH":"$file"
|
||||
done
|
||||
|
||||
for file in "$streams_dependant_clients_lib_dir"/*hamcrest*.jar;
|
||||
do
|
||||
CLASSPATH="$CLASSPATH":"$file"
|
||||
done
|
||||
|
||||
for file in "$base_dir"/shell/build/libs/kafka-shell*.jar;
|
||||
do
|
||||
if should_include_file "$file"; then
|
||||
|
||||
@@ -2896,7 +2896,6 @@ project(':streams') {
|
||||
|
||||
testImplementation testFixtures(project(':clients'))
|
||||
testImplementation libs.junitJupiter
|
||||
testImplementation libs.hamcrest
|
||||
testImplementation libs.mockitoCore
|
||||
testImplementation libs.mockitoJunitJupiter // supports MockitoExtension
|
||||
testImplementation libs.junitPlatformSuiteEngine // supports suite test
|
||||
@@ -3097,7 +3096,6 @@ project(':streams:integration-tests') {
|
||||
testImplementation project(':test-common:test-common-runtime')
|
||||
testImplementation project(':tools')
|
||||
testImplementation project(':transaction-coordinator')
|
||||
testImplementation libs.hamcrest
|
||||
testImplementation libs.junitJupiter
|
||||
testImplementation libs.junitPlatformSuiteEngine // supports suite test
|
||||
testImplementation libs.mockitoCore
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
<allow pkg="javax.management" />
|
||||
<allow pkg="org.slf4j" />
|
||||
<allow pkg="org.junit" />
|
||||
<allow pkg="org.hamcrest" />
|
||||
<allow pkg="org.mockito" />
|
||||
<allow pkg="java.security" />
|
||||
<allow pkg="javax.net.ssl" />
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
<allow pkg="org.slf4j" />
|
||||
<allow pkg="org.junit" />
|
||||
<allow pkg="org.opentest4j" />
|
||||
<allow pkg="org.hamcrest" />
|
||||
<allow pkg="org.mockito" />
|
||||
<allow pkg="java.security" />
|
||||
<allow pkg="javax.net.ssl" />
|
||||
|
||||
@@ -73,7 +73,6 @@ versions += [
|
||||
jgit: "7.7.1.202607240634-r",
|
||||
jline: "3.30.16",
|
||||
jmh: "1.37",
|
||||
hamcrest: "3.0",
|
||||
scalaLogging: "3.9.6",
|
||||
jakartaAnnotationApi: "2.1.1",
|
||||
jakartaRs: "3.1.0",
|
||||
@@ -192,7 +191,6 @@ libs += [
|
||||
junitJupiterApi: "org.junit.jupiter:junit-jupiter-api:$versions.junit",
|
||||
junitPlatformSuiteEngine: "org.junit.platform:junit-platform-suite-engine:$versions.junitPlatform",
|
||||
junitPlatformLauncher: "org.junit.platform:junit-platform-launcher:$versions.junitPlatform",
|
||||
hamcrest: "org.hamcrest:hamcrest:$versions.hamcrest",
|
||||
kafkaStreams_0110: "org.apache.kafka:kafka-streams:$versions.kafka_0110",
|
||||
kafkaStreams_10: "org.apache.kafka:kafka-streams:$versions.kafka_10",
|
||||
kafkaStreams_11: "org.apache.kafka:kafka-streams:$versions.kafka_11",
|
||||
|
||||
Reference in new issue
Block a user