Skip to content

Commit

Permalink
Move archivesBaseName into instrumentation gradle in a way that suppo…
Browse files Browse the repository at this point in the history
…rts both old and new folder scheme. (#1169)
  • Loading branch information
Anuraag Agrawal authored Sep 4, 2020
1 parent fa3ae09 commit 1217882
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions gradle/instrumentation.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 0 additions & 3 deletions instrumentation/armeria-1.0/auto/armeria-1.0-auto.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1217882

Please sign in to comment.