Skip to content

Use some more non deprecated APIs #462

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

Merged
merged 4 commits into from
Apr 2, 2018
Merged

Conversation

johnynek
Copy link
Contributor

This is part of #452 in the scala.bzl part. Not all of the changes. I want to see them pass on CI, since the laptop I am using is a bit slow. They seem to pass, but to be extra sure we might want a clean build from travis.

@johnynek
Copy link
Contributor Author

okay @ittaiz I think this is ready to go. I think we are using all the modern action APIs in scala.bzl now.

I think I realized my problem. In #452 I didn't set the wrapper file to be executable, so I think it wouldn't run. I guess previously that was the default. I didn't verify that, but that here:

https://github.com/bazelbuild/rules_scala/pull/452/files#diff-9957b181001dad28e385437a86e99126R454

you can see that I didn't set is_executable = True which I do in this PR.

If this is green on all the CI checks, we can merge and follow up with the depset changes. Then, perhaps we can turn on the all incompatible changes flag in CI.

@johnynek johnynek requested a review from ittaiz March 31, 2018 20:23
@johnynek
Copy link
Contributor Author

cc @andyscott can you take a look?

@andyscott
Copy link
Contributor

LGTM

Copy link
Contributor

@ittaiz ittaiz left a comment

Choose a reason for hiding this comment

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

LGTM

@ittaiz ittaiz merged commit d4263b5 into master Apr 2, 2018
ianoc-stripe pushed a commit to ianoc-stripe/rules_scala that referenced this pull request Jun 12, 2018
* Use some more non deprecated APIs

* Use actions.run for scalac

* fix a few more old APIs
@ittaiz ittaiz deleted the oscar/current_action_api branch July 1, 2018 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants