To use a locally compiled JAR file, copy the JAR to your project's libs directory and add the following dependencies to your build.gradle. Note that you must include specific versions for Guava, gRPC, Protobuf, BouncyCastle, Vert.x, and Fastjson2, as well as the Netty BOM for managing Netty modules.
dependencies {
implementation files('libs/trident-1.0.0.jar')
implementation "com.google.guava:guava:33.0.0-jre"
implementation "io.grpc:grpc-netty-shaded:1.81.0"
implementation "io.grpc:grpc-netty:1.81.0"
implementation "io.grpc:grpc-okhttp:1.81.0"
implementation "io.grpc:grpc-protobuf:1.81.0"
implementation "io.grpc:grpc-stub:1.81.0"
implementation "com.google.protobuf:protobuf-java-util:3.25.8"
implementation "org.bouncycastle:bcprov-jdk18on:1.84"
implementation "io.vertx:vertx-core:4.5.27"
implementation platform("io.netty:netty-bom:4.1.135.Final")
implementation "io.netty:netty-buffer"
implementation "com.alibaba.fastjson2:fastjson2:2.0.55"
}