-
-
Notifications
You must be signed in to change notification settings - Fork 286
[Potentially breaking change] changed specs2 to single bind #319
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
Conversation
@chaoren I needed to change the aspect test for this to pass. |
Also this will be a breaking change only to users who've customized specs2 usage |
Yes, it looks fine. It's even better now that the aspect test doesn't need to be changed every single time the dependencies change. |
Great.
If someone doesn't load the specs2_repositories and binds to its own target
which has different specs2 jars will the IDE be ok with it?
…On Sun, 22 Oct 2017 at 0:39 Chaoren Lin ***@***.***> wrote:
Yes, it looks fine. It's even better now that the aspect test doesn't need
to be changed every single time the dependencies change.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF4pQGblMT5u4pRHygVLcWmSOEfkYks5sumRzgaJpZM4QBsx4>
.
|
It doesn't matter, since |
… (dependency graph changes)
1ce02e9
to
fd5a392
Compare
@johnynek I want to merge this one and #320 tomorrow since I have a backlog of stuff to upstream and just fix here:
|
@or-shachar wdyt? |
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.
LGTM. maybe just add the missing newlines at eof
"//external:io_bazel_rules_scala/dependency/scala/scala_library", | ||
"//external:io_bazel_rules_scala/dependency/scala/scala_reflect" | ||
] | ||
) |
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.
[cosmetic] missing newline
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.
done
"//external:io_bazel_rules_scala/dependency/scala/parser_combinators", | ||
"//external:io_bazel_rules_scala/dependency/scala/scala_library", | ||
"//external:io_bazel_rules_scala/dependency/scala/scala_reflect"] | ||
return ["//external:io_bazel_rules_scala/dependency/specs2/specs2"] |
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.
[cosmetic] - misssing newline
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.
done
changed specs2 to single bind to remove volatility of version upgrade (dependency graph changes)
@johnynek following the discussion in #311 I realized my implementation was way off with the multiple binds.
This is a breaking change but I actually stumbled upon this need a few times in the past but I didn't realize the problem until your explanation in #311