-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid having two tasks producing the same file #5334
Conversation
18fb9ab
to
c3192cc
Compare
@@ -218,6 +218,25 @@ tasks { | |||
named("generateLicenseReport").configure { | |||
dependsOn(cleanLicenses) | |||
} | |||
|
|||
// Because we reconfigure publishing to only include the shadow jar, the Gradle metadata is not correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was actually already the case, causing awkwardness like this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As #5333 already reduces the chance of a successful release, doesn't hurt to reduce it even further!
💯
😂
withVariantsFromConfiguration(configurations["apiElements"]) { | ||
skip() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is in apiElements
that we suppress?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was surprised too but for some reason the jar seems to be in both API and runtime elements
As #5333 already reduces the chance of a successful release, doesn't hurt to reduce it even further!
Note,
publishToMavenLocal
looks reasonable except for the lack of-base
. But as far as I can tell,-base
wasn't working before this PR as wellhttps://repo1.maven.org/maven2/io/opentelemetry/javaagent/opentelemetry-javaagent/1.10.1/