Skip to content
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

Fix cross-version conflict errors in the "docs" subproject. #230

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iswoqqe
Copy link

@iswoqqe iswoqqe commented Feb 4, 2025

Goals

This PR addresses two issues:

  • The project cannot be successfully imported in Intellij IDEA with the Scala plugin.
  • The sbt command docs/mdoc does not run successfully.

Both currently fail with the error:

[error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/home/iswoqqe/git/inox/"), "docs"):
[error]    org.scala-lang.modules:scala-parser-combinators _3, _2.13

Changes

  • The 2.13 version of the parser combinators dependency is now excluded in the "docs" subproject.
    • This makes it possible to import the project, but docs/mdoc still fails with a few different errors, which is why the changes below also are applied.
  • Scala version of the "docs" subproject is increased to 3.5.2 (same as root project).
  • The mdoc plugin version is increased to 2.6.3 (latest version).

- Ensure the `docs/mdoc` sbt command runs successfully.
@CLAassistant
Copy link

CLAassistant commented Feb 4, 2025

CLA assistant check
All committers have signed the CLA.

@sankalpgambhir
Copy link
Member

Thanks for the PR! Could you mark the PR as not-draft, so the CI can also run? Additionally, have a look at the CLA when you can.

This is probably good reason to test the docs project in the CI as well going forward.

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

Successfully merging this pull request may close these issues.

3 participants