-
Notifications
You must be signed in to change notification settings - Fork 870
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
Switch to colon notation for dependencies. #2994
Conversation
examples/distro/build.gradle
Outdated
dependencies.create("com.google.auto.service:auto-service:1.0-rc7"), | ||
dependencies.create("com.google.auto:auto-common:0.8"), | ||
dependencies.create("com.google.guava:guava:${versions.guava}"), |
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.
Nit: I think that we don't need to call dependencies.create()
anymore, we can just pass the string.
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.
Yay! Thanks!
@@ -324,7 +324,7 @@ class MuzzlePlugin implements Plugin<Project> { | |||
def config = instrumentationProject.configurations.create(taskName) | |||
|
|||
if (!muzzleDirective.coreJdk) { | |||
def dep = instrumentationProject.dependencies.create("$versionArtifact.groupId:$versionArtifact.artifactId:$versionArtifact.version") { |
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.
Wait, you probably need those in this file 😄
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.
Yikes bad regex :)
opentelemetry-java