Skip to content

maven_jar dependencies no longer work, as of #523 #565

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

Open
iphydf opened this issue Jul 21, 2018 · 2 comments
Open

maven_jar dependencies no longer work, as of #523 #565

iphydf opened this issue Jul 21, 2018 · 2 comments

Comments

@iphydf
Copy link

iphydf commented Jul 21, 2018

#523 broke dependencies on jars with macros (scalactic, scala-logging, shapeless, scalatest). I'm using maven_jar and for the dependencies that have macros, I use @the_dependency//jar:file. That no longer works, because :file doesn't have JavaInfo. Removing :file makes the compiler fail. What's the new recommended way of importing e.g. scalatest?

@johnynek
Copy link
Contributor

I guess that since CI is green and so are Stripes repos that you have set up your own bind for scalatest? The answer is that you need to point to a scala_import target and it should probably export scalactic or use the same set up that the rules are using in scala_repositories.

@ittaiz
Copy link
Contributor

ittaiz commented Jul 22, 2018 via email

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

No branches or pull requests

3 participants