-
-
Notifications
You must be signed in to change notification settings - Fork 268
Don't print warnings when testing utility functions #1403
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
base: master
Are you sure you want to change the base?
Conversation
@@ -78,7 +78,7 @@ def _maven_dependencies_bom_impl(ctx): | |||
ctx, | |||
coordinates = ctx.attr.maven_coordinates, | |||
is_bom = True, | |||
versioned_dep_coordinates = combined_deps + ["%s:%s:pom:%s" % (unpacked.group, unpacked.artifact, unpacked.version)], | |||
versioned_dep_coordinates = combined_deps + ["%s:%s:%s@pom" % (unpacked.group, unpacked.artifact, unpacked.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.
We should make this change regardless of what we do with the rest or the PR
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 don't think we need the is_test
parameter. We should be the only ones who see that since we're the only ones who are loading these install
tags.
@@ -94,6 +94,8 @@ def generate_pom( | |||
substitutions.update({"{parent}": "".join(parts)}) | |||
|
|||
deps = [] | |||
# print("versioned_dep_coordinates = {}".format(versioned_dep_coordinates)) |
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.
These can be deleted
@@ -356,7 +356,7 @@ dev_maven.install( | |||
name = "jvm_import_test", | |||
artifacts = [ | |||
"com.google.code.findbugs:jsr305:3.0.2", | |||
"com.android.support:appcompat-v7:aar:28.0.0", | |||
"com.android.support:appcompat-v7:28.0.0@aar", |
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.
Ha! Yes!
Don't print test output for regular build.