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

Depend on aws sdk modules from instrumentor for runtime rather than c… #167

Merged
merged 3 commits into from
Jun 22, 2020

Conversation

anuraaga
Copy link
Contributor

…ompile only.

The dependencies are needed when a user app runs too, so compileOnly, which indicates it's only needed when this module is compiled, wasn't right and would require users to add both dependencies.

Note to prevent confusion as it's happening right now, this does not affect our next release, which we're still using Maven for. It probably would affect the one after that where we should have switched to Gradle by then.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -4,7 +4,7 @@ plugins {
}

dependencies {
compileOnly(project(":aws-xray-recorder-sdk-aws-sdk"))
implementation(project(":aws-xray-recorder-sdk-aws-sdk"))
Copy link
Contributor

Choose a reason for hiding this comment

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

We actually don't have a dependency on the aws-xray-recorder-sdk-aws-sdk module currently. But that should be fine since the customers who are depending on both right now would just have it deduped. We should patch the docs when this is released.

@anuraaga anuraaga merged commit 0dec39b into aws:master Jun 22, 2020
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.

2 participants