-
Notifications
You must be signed in to change notification settings - Fork 64
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
Issues with 0.9.0 and Scalameta mdoc #305
Comments
I'm taking a look at this later. Thanks @jdegoes |
And also: https://travis-ci.org/scalaz/scalaz-zio/jobs/506929362 @rafaparadela Thank you for any help you can provide! |
We needed to upgrade to 0.9.0 to fix a transitive issue with the Cats dependency (recently fixed, I believe). |
More information:
|
I think we're running into the same issue here, where our project fails to just compile on 2.13 -- not running mdoc: build error: https://travis-ci.com/pauljamescleary/scala-pet-store/jobs/214042144#L411 |
We might need to wait until |
Scala 2.13 support in mdoc is being released right now by https://travis-ci.org/scalameta/mdoc/builds/576584631 However, until now it should already have been possible to upgrade a builds to 2.13 regardless of mdoc if you're OK with generating the docs only for 2.12. When using sbt-mdoc, the lazy val docs = project.settings(
+ crossScalaVersions := List("2.12.8"),
...
).enablePlugin(MdocPlugin) With this setup, you will still get a resolution error when running the following sequence of commands
The following should work however
When running sbt from CI, it's important to quote together |
Thanks @olafurpg , for such as amazing work on |
mdoc is now crossbuild for Scala 2.13.x. We can close this issue. |
I think there's an issue with the way scalameta-mdoc is listed as a dependency. Upgrading to 0.9.0 caused several breakages, including:
sbt-explicit-dependencies
failing the build becausescalameta-mdoc
is unusedpublish
failing on 2.13 becausescalameta-mdoc
has no such releaseThe text was updated successfully, but these errors were encountered: