diff --git a/dropwizard/service/build.gradle.kts b/dropwizard/service/build.gradle.kts index 79130f042..8f8cc3c4c 100644 --- a/dropwizard/service/build.gradle.kts +++ b/dropwizard/service/build.gradle.kts @@ -43,6 +43,9 @@ dependencies { implementation("org.apache.iceberg:iceberg-core") implementation("org.apache.iceberg:iceberg-aws") + // override dnsjava version in dependencies due to https://github.com/dnsjava/dnsjava/issues/329 + implementation(platform(libs.dnsjava)) + implementation(libs.hadoop.common) { exclude("org.slf4j", "slf4j-reload4j") exclude("org.slf4j", "slf4j-log4j12") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index aaa459ae9..900cb466a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -46,6 +46,8 @@ errorprone = { module = "com.google.errorprone:error_prone_core", version = "2.2 google-cloud-storage-bom = { module = "com.google.cloud:google-cloud-storage-bom", version = "2.42.0" } guava = { module = "com.google.guava:guava", version = "33.3.0-jre" } h2 = { module = "com.h2database:h2", version = "2.3.232" } +# Strict dnsjava downgrade due to https://github.com/dnsjava/dnsjava/issues/329 +dnsjava = { module = "dnsjava:dnsjava", version = "3.5.3!!" } hadoop-client-api = { module = "org.apache.hadoop:hadoop-client-api", version.ref = "hadoop" } hadoop-common = { module = "org.apache.hadoop:hadoop-common", version.ref = "hadoop" } hadoop-hdfs-client = { module = "org.apache.hadoop:hadoop-hdfs-client", version.ref = "hadoop" }