Skip to content

Add ujson and the scalatest-scalacheck bridge to the community build #7632

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 3 commits into from
Nov 28, 2019

Conversation

anatoliykmetyuk
Copy link
Contributor

No description provided.

So that we do not get NullPointerExceptions
when a dependency of a project is defined after the
project in question.
So that the correct Dotty version ends up in scope
@anatoliykmetyuk anatoliykmetyuk self-assigned this Nov 27, 2019
@anatoliykmetyuk anatoliykmetyuk changed the title Add ujson to the community build Add ujson and the scalatest-scalacheck bridge to the community build Nov 27, 2019
@anatoliykmetyuk anatoliykmetyuk marked this pull request as ready for review November 27, 2019 18:10
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM

sbtTestCommand = "scalatestPlusScalaCheckJVM/compile", // TODO: compile only because tests are prone to java.lang.OutOfMemoryError: Metaspace
sbtUpdateCommand = "scalatestPlusScalaCheckJVM/update",
sbtPublishCommand = "scalatestPlusScalaCheckJVM/publishLocal",
dependencies = List(scalatest, scalacheck)
Copy link
Contributor

Choose a reason for hiding this comment

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

The dependency on scalatest and scalacheck is not effective, if the versions don't match in dependency specification.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be fine FTTB. Assuming that specifying the correct dependency is the responsibility of the one adding a new project to the build, and that these custom dependencies are local, the test would just fail to resolve the dependencies if they are misspecified in any of the concerned projects.

@anatoliykmetyuk anatoliykmetyuk merged commit 5ed5e14 into scala:master Nov 28, 2019
@anatoliykmetyuk anatoliykmetyuk deleted the ujson-community branch November 28, 2019 10:40
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.

2 participants