Browse Source

Remove unused javaSubPackage config (#1020)

Trask Stalnaker 4 years ago
parent
commit
d9dca25402

+ 1 - 5
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
 

+ 0 - 3
instrumentation-core/servlet/servlet.gradle

@@ -1,6 +1,3 @@
-ext {
-  javaSubPackage = 'servlet'
-}
 apply from: "$rootDir/gradle/instrumentation-library.gradle"
 archivesBaseName = "servlet"
 

+ 0 - 1
instrumentation-core/spring/spring-webflux-5.0/spring-webflux-5.0.gradle

@@ -1,6 +1,5 @@
 ext {
   minJavaVersionForTests = JavaVersion.VERSION_1_8
-  javaSubPackage = 'spring.webflux.client'
 }
 
 apply from: "$rootDir/gradle/instrumentation-library.gradle"

+ 0 - 1
instrumentation/armeria-1.0/library/armeria-1.0-library.gradle

@@ -1,6 +1,5 @@
 ext {
   minJavaVersionForTests = JavaVersion.VERSION_1_8
-  javaSubPackage = 'armeria.v1_0'
 }
 
 apply from: "$rootDir/gradle/instrumentation-library.gradle"

+ 0 - 1
instrumentation/aws-sdk/aws-sdk-2.2/library/aws-sdk-2.2-library.gradle

@@ -1,6 +1,5 @@
 ext {
   minJavaVersionForTests = JavaVersion.VERSION_1_8
-  javaSubPackage = 'awssdk.v2_2'
 }
 
 apply from: "$rootDir/gradle/instrumentation-library.gradle"

+ 0 - 1
instrumentation/log4j/log4j-2.13.2/library/log4j-2.13.2-library.gradle

@@ -1,6 +1,5 @@
 ext {
   minJavaVersionForTests = JavaVersion.VERSION_1_8
-  javaSubPackage = 'log4j.v2_13_2'
 }
 
 apply from: "$rootDir/gradle/instrumentation-library.gradle"