Skip to content
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

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

anuraaga
Copy link
Contributor

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 well

https://repo1.maven.org/maven2/io/opentelemetry/javaagent/opentelemetry-javaagent/1.10.1/

@anuraaga anuraaga requested a review from a team February 10, 2022 09:20
@@ -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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a 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!

💯
😂

Comment on lines +233 to +235
withVariantsFromConfiguration(configurations["apiElements"]) {
skip()
}
Copy link
Member

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?

Copy link
Contributor Author

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

@anuraaga anuraaga merged commit 7b38845 into open-telemetry:main Feb 11, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants