diff --git a/gradle/plugins/src/main/kotlin/com.hedera.gradle.patch-modules.gradle.kts b/gradle/plugins/src/main/kotlin/com.hedera.gradle.patch-modules.gradle.kts index 6282658cb..92ff97535 100644 --- a/gradle/plugins/src/main/kotlin/com.hedera.gradle.patch-modules.gradle.kts +++ b/gradle/plugins/src/main/kotlin/com.hedera.gradle.patch-modules.gradle.kts @@ -62,7 +62,7 @@ jvmDependencyConflicts.patch { extraJavaModuleInfo { failOnAutomaticModules = true // Only allow Jars with 'module-info' on all module paths - module("com.esaulpaugh:headlong", "headlong") + module("com.esaulpaugh:headlong", "com.esaulpaugh.headlong") module("com.github.spotbugs:spotbugs-annotations", "com.github.spotbugs.annotations") module("com.google.errorprone:error_prone_annotations", "com.google.errorprone.annotations") module("com.google.guava:failureaccess", "com.google.common.util.concurrent.internal") diff --git a/sdk-full/src/main/java/module-info.java b/sdk-full/src/main/java/module-info.java index 515c7989e..b82a169e1 100644 --- a/sdk-full/src/main/java/module-info.java +++ b/sdk-full/src/main/java/module-info.java @@ -21,9 +21,9 @@ module com.hedera.hashgraph.sdk.full { requires transitive com.google.protobuf; + requires com.esaulpaugh.headlong; requires com.google.common; requires com.google.gson; - requires headlong; requires io.grpc.inprocess; requires io.grpc.protobuf; requires io.grpc.stub; diff --git a/sdk/src/main/java/module-info.java b/sdk/src/main/java/module-info.java index d9f19f2fe..7dfbc187f 100644 --- a/sdk/src/main/java/module-info.java +++ b/sdk/src/main/java/module-info.java @@ -21,9 +21,9 @@ module com.hedera.hashgraph.sdk { requires transitive com.google.protobuf; + requires com.esaulpaugh.headlong; requires com.google.common; requires com.google.gson; - requires headlong; requires io.grpc.inprocess; requires io.grpc.protobuf.lite; requires io.grpc.stub; diff --git a/sdk/src/testIntegration/java/module-info.java b/sdk/src/testIntegration/java/module-info.java index 90228b96c..8fbf5e58a 100644 --- a/sdk/src/testIntegration/java/module-info.java +++ b/sdk/src/testIntegration/java/module-info.java @@ -20,7 +20,7 @@ open module com.hedera.hashgraph.sdk.test.integration { requires com.hedera.hashgraph.sdk; - requires headlong; + requires com.esaulpaugh.headlong; requires org.assertj.core; requires org.bouncycastle.provider; requires org.junit.jupiter.api;