Remove unused javaSubPackage config
MODIFY
docs/contributing/writing-instrumentation.md
docs/contributing/writing-instrumentation.md
@@ -75,11 +75,7 @@ Begin by writing the instrumentation for the library in `library`. This generall
spans as part of the implementation of an interceptor for the library. The module should generally
only depend on the OpenTelemetry API, `instrumentation-common`, and the instrumented library itself.
[instrumentation-library.gradle](./gradle/instrumentation-library.gradle) needs to be applied to
-configure build tooling for the library, e.g., to prevent conflict between manual instrumentation
-loaded by the user and by the agent, we make sure to create a shaded version with no dependencies
-for use from the auto instrumentation at a separate package. To configure this, you must define
-`ext.javaSubPackage` with the name of the sub package under `io.opentelemetry.auto` that the code
-lives in. In this example, we would use `yarpc.v1_0`.
+configure build tooling for the library.
#### Writing unit tests

MODIFY
instrumentation-core/servlet/servlet.gradle
instrumentation-core/servlet/servlet.gradle
-ext {
- javaSubPackage = 'servlet'
-}
apply from: "$rootDir/gradle/instrumentation-library.gradle"
archivesBaseName = "servlet"

MODIFY
instrumentation-core/spring/spring-webflux-5.0/spring-webflux-5.0.gradle
instrumentation-core/spring/spring-webflux-5.0/spring-webflux-5.0.gradle
ext {
minJavaVersionForTests = JavaVersion.VERSION_1_8
- javaSubPackage = 'spring.webflux.client'
}
apply from: "$rootDir/gradle/instrumentation-library.gradle"

MODIFY
instrumentation/armeria-1.0/library/armeria-1.0-library.gradle
instrumentation/armeria-1.0/library/armeria-1.0-library.gradle
ext {
minJavaVersionForTests = JavaVersion.VERSION_1_8
- javaSubPackage = 'armeria.v1_0'
}
apply from: "$rootDir/gradle/instrumentation-library.gradle"

MODIFY
instrumentation/aws-sdk/aws-sdk-2.2/library/aws-sdk-2.2-library.gradle
instrumentation/aws-sdk/aws-sdk-2.2/library/aws-sdk-2.2-library.gradle
ext {
minJavaVersionForTests = JavaVersion.VERSION_1_8
- javaSubPackage = 'awssdk.v2_2'
}
apply from: "$rootDir/gradle/instrumentation-library.gradle"

MODIFY
instrumentation/log4j/log4j-2.13.2/library/log4j-2.13.2-library.gradle
instrumentation/log4j/log4j-2.13.2/library/log4j-2.13.2-library.gradle
ext {
minJavaVersionForTests = JavaVersion.VERSION_1_8
- javaSubPackage = 'log4j.v2_13_2'
}
apply from: "$rootDir/gradle/instrumentation-library.gradle"

Remove unused javaSubPackage config (#1020)