Publish lettuce and mongo common
MODIFY
instrumentation/lettuce/lettuce-common/javaagent/lettuce-common-javaagent.gradle
instrumentation/lettuce/lettuce-common/javaagent/lettuce-common-javaagent.gradle
// not applying $rootDir/gradle/instrumentation.gradle because that brings running tests with agent
// infrastructure, and this module only wants to run unit tests
-group = 'io.opentelemetry.javaagent.instrumentation'
+ext.mavenGroupId = 'io.opentelemetry.javaagent.instrumentation'
apply from: "$rootDir/gradle/java.gradle"
apply from: "$rootDir/gradle/publish.gradle"
+
+archivesBaseName = projectDir.parentFile.name

MODIFY
instrumentation/mongo/mongo-common/javaagent/mongo-common-javaagent.gradle
instrumentation/mongo/mongo-common/javaagent/mongo-common-javaagent.gradle
// not applying $rootDir/gradle/instrumentation.gradle because that brings running tests with agent
// infrastructure, and this module only wants to run unit tests
-group = 'io.opentelemetry.javaagent.instrumentation'
+ext.mavenGroupId = 'io.opentelemetry.javaagent.instrumentation'
apply from: "$rootDir/gradle/java.gradle"
apply from: "$rootDir/gradle/publish.gradle"
+archivesBaseName = projectDir.parentFile.name
+
dependencies {
compileOnly project(':instrumentation-api')
compileOnly project(':javaagent-api')

Publish lettuce and mongo common (#2148)