File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,14 @@ configurations {
37
37
testImplementation. extendsFrom(compileOnly)
38
38
}
39
39
40
+ configurations. all {
41
+ // Ensures that slf4j-api 1.x does not appear on the Flux classpath in particular, which can lead to this
42
+ // issue - https://www.slf4j.org/codes.html#StaticLoggerBinder .
43
+ resolutionStrategy {
44
+ force " org.slf4j:slf4j-api:2.0.13"
45
+ }
46
+ }
47
+
40
48
dependencies {
41
49
// This is compileOnly as any environment this is used in will provide the Spark dependencies itself.
42
50
compileOnly (' org.apache.spark:spark-sql_2.12:' + sparkVersion) {
@@ -53,7 +61,10 @@ dependencies {
53
61
}
54
62
55
63
// Required for converting JSON to XML. Using 2.15.2 to align with Spark 3.5.3.
56
- shadowDependencies " com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.2"
64
+ shadowDependencies (" com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.2" ) {
65
+ // Not needed, as the modules in this group that this dependency depends on are all provided by Spark.
66
+ exclude group : " com.fasterxml.jackson.core"
67
+ }
57
68
58
69
// Need this so that an OkHttpClientConfigurator can be created.
59
70
shadowDependencies ' com.squareup.okhttp3:okhttp:4.12.0'
You can’t perform that action at this time.
0 commit comments