diff --git a/build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.jpms-modules.gradle.kts b/build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.jpms-modules.gradle.kts index 6ca1661b6874..a359be9e7695 100644 --- a/build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.jpms-modules.gradle.kts +++ b/build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.jpms-modules.gradle.kts @@ -22,6 +22,12 @@ plugins { } dependencies.components { + // TODO remove, once a new version of 'com.hedera.pbj.runtime' has been + // published with fix from https://github.com/hashgraph/pbj/pull/92 + withModule("com.hedera.pbj:pbj-runtime") { + this.allVariants { withDependencies { removeAll { it.name != "antlr4-runtime" } } } + } + withModule("io.grpc:grpc-netty") withModule("io.grpc:grpc-protobuf") withModule("io.grpc:grpc-protobuf-lite")