Skip to content

Commit

Permalink
Revert "Adds explicit instruction for shaded release" (#241)
Browse files Browse the repository at this point in the history
Reverts #240

We do not want shaded version in a different artifact - use classifiers instead.
  • Loading branch information
psx95 authored May 8, 2023
1 parent c2a6c3f commit fcedb2f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ subprojects {
groupId = 'com.google.cloud.opentelemetry'
afterEvaluate {
artifactId = archivesBaseName
if (findProperty("shadow.release") != null) {
artifactId = artifactId + "-shaded"
}
if (findProperty("release.qualifier") != null) {
String[] versionParts = version.split('-')
versionParts[0] = "${versionParts[0]}-${findProperty("release.qualifier")}"
Expand Down
8 changes: 0 additions & 8 deletions exporters/auto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,3 @@ tasks.named('shadowJar') {
enableRelocation true
relocationPrefix 'shadow'
}

publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
}
2 changes: 0 additions & 2 deletions exporters/auto/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
release.qualifier=alpha
release.enabled=true
# Releases a shadowed variant of the artifact with '-shaded' as artifactId suffix
shadow.release=true

0 comments on commit fcedb2f

Please sign in to comment.