-
Notifications
You must be signed in to change notification settings - Fork 935
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
[1.3.0-RC1] Ivy repository for 0.13.x releases not available by default when cross-compiling a plugin #4698
Comments
Not sure if I am looking in the right place, but sbt/main/src/main/scala/sbt/internal/librarymanagement/CoursierRepositoriesTasks.scala Line 22 in cf932c8
|
Adding
to a custom repository configuration fixes the regression. |
@bjaglin Thanks for the report! I am guessing you could also add a resolver like this: resolvers += Resolver.typesafeIvyRepo("releases") If so I might just update the g8 template and docs. |
Thanks for the very prompt reply! Indeed, my bad. It does make sense to add it, I just never thought about explicitly adding it with previous versions. Regarding the actions we could take - https://github.com/sbt/website/blob/5524bb3e66a67fd73555910519abff51115fe3cd/src/reference/02-DetailTopics/05-Plugins-and-Best-Practices/07-Cross-Build-Plugins.md would need a big overhaul anyway and the amount of project cross-building to 0.13.x is probably small, so maybe having this issue and its solution indexed by search engines is enough to close? |
Problem After updating to sbt 1.3.10 it appears we are running into sbt/sbt#4698 for building the scrooge-sbt-plugin for sbt 0.13.18. Solutio Even though the issue appears to have had a fix commited, manually add the Typesafe Ivy Resolver to the `scroogeSbtPlugin` project settings. Result Hopefully the scrooge sbt plugin can now build for sbt 0.13.18. Differential Revision: https://phabricator.twitter.biz/D478077
KO with 1.3.0-RC1
OK with 1.2.8
The text was updated successfully, but these errors were encountered: