Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme.
MODIFY
gradle/instrumentation.gradle
gradle/instrumentation.gradle
@@ -24,6 +24,10 @@ if (project.ext.find("skipPublish") != true) {
apply from: "$rootDir/gradle/instrumentation-common.gradle"
+if (projectDir.name == 'auto') {
+ archivesBaseName = projectDir.parentFile.name
+}
+
afterEvaluate {
byteBuddy {
transformation {

MODIFY
instrumentation/armeria-1.0/auto/armeria-1.0-auto.gradle
instrumentation/armeria-1.0/auto/armeria-1.0-auto.gradle
@@ -4,9 +4,6 @@ ext {
apply from: "$rootDir/gradle/instrumentation.gradle"
-// TODO(anuraaga): Move into instrumentation.gradle
-archivesBaseName = projectDir.parentFile.name
-
muzzle {
pass {
group = "com.linecorp.armeria"

MODIFY
instrumentation/aws-sdk/aws-sdk-2.2/auto/aws-sdk-2.2-auto.gradle
instrumentation/aws-sdk/aws-sdk-2.2/auto/aws-sdk-2.2-auto.gradle
@@ -4,9 +4,6 @@ ext {
apply from: "$rootDir/gradle/instrumentation.gradle"
-// TODO(anuraaga): Move into instrumentation.gradle
-archivesBaseName = projectDir.parentFile.name
-
muzzle {
pass {
group = "software.amazon.awssdk"

Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme. (#1169)