Open NipunaMadhushan opened 10 months ago
I have solved this issue myself by just removing the module-info.java
file in my java project. But I believe having a module-info.java
should not be an issue for using two dependencies of the same group id (com.newrelic.telemetry).
When we include the above dependencies in
build.gradle
, I get the following error.Error says that both the dependecncies contains
com.newrelic.telemetry
package. I have noticed that https://javadoc.io/doc/com.newrelic.telemetry/telemetry-core/latest/index.html and https://javadoc.io/doc/com.newrelic.telemetry/telemetry-http-okhttp/latest/com/newrelic/telemetry/package-summary.html have same package names (com.newrelic.telemetry). Because of this, we cannot use both dependencies together.