Skip to content

Commit 4a0b026

Browse files
authored
Fix krb5 fixture classpath (#109962)
* Fix krb5dc fixture classpath and handling
1 parent 00f4c13 commit 4a0b026

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

test/fixtures/krb5kdc-fixture/build.gradle

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dockerFixtures {
2222

2323
configurations {
2424
all {
25-
transitive = false
25+
exclude group: 'org.hamcrest', module: 'hamcrest-core'
2626
}
2727
krb5ConfHdfsFile {
2828
canBeConsumed = true
@@ -36,21 +36,18 @@ configurations {
3636

3737
dependencies {
3838
testImplementation project(':test:framework')
39-
4039
api "junit:junit:${versions.junit}"
4140
api project(':test:fixtures:testcontainer-utils')
42-
api "org.testcontainers:testcontainers:${versions.testcontainer}"
43-
implementation "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
41+
api("org.testcontainers:testcontainers:${versions.testcontainer}") {
42+
transitive = false
43+
}
44+
implementation("com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"){
45+
transitive = false
46+
}
4447
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
45-
implementation "com.github.docker-java:docker-java-api:${versions.dockerJava}"
48+
// implementation "com.github.docker-java:docker-java-api:${versions.dockerJava}"
4649
implementation "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}"
4750

48-
runtimeOnly "com.github.docker-java:docker-java-transport-zerodep:${versions.dockerJava}"
49-
runtimeOnly "com.github.docker-java:docker-java-transport:${versions.dockerJava}"
50-
runtimeOnly "com.github.docker-java:docker-java-core:${versions.dockerJava}"
51-
runtimeOnly "org.apache.commons:commons-compress:${versions.commonsCompress}"
52-
runtimeOnly "org.rnorth.duct-tape:duct-tape:${versions.ductTape}"
53-
5451
// ensure we have proper logging during when used in tests
5552
runtimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
5653
runtimeOnly "org.hamcrest:hamcrest:${versions.hamcrest}"

0 commit comments

Comments
 (0)