Skip to content

Commit

Permalink
do not relocate spectator-api for spark jar (#1022)
Browse files Browse the repository at this point in the history
The api jar is needed by other spark distribution jars
so we cannot change the package.
  • Loading branch information
brharrington authored Jan 5, 2023
1 parent bda3c90 commit 9fce0db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spectator-ext-spark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ shadowJar {
minimize()

exclude 'module-info.class'
relocate 'com.netflix.spectator.api', 'spectator-ext-spark.api'

// Relocate all deps other than spectator-api. The api jar is needed by other spark distribution jars
// so we cannot change the package here.
relocate 'com.netflix.spectator.gc', 'spectator-ext-spark.gc'
relocate 'com.netflix.spectator.impl', 'spectator-ext-spark.impl'
relocate 'com.netflix.spectator.ipc', 'spectator-ext-spark.ipc'
Expand Down

0 comments on commit 9fce0db

Please sign in to comment.