Skip to content

readme and build improvements #33

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 5 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This module provides various additions to the Scala 2.13 standard collections.

## Usage

If you're using sbt, you can add the dependency as follows:

```
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-contrib" % "0.1.0"
```

## New collection types

- `MultiSet` (both mutable and immutable)
Expand Down
13 changes: 5 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
import ScalaModulePlugin._

scalaModuleSettings
scalaModuleSettingsJVM

name := "scala-collection-contrib"
version := "0.1.0-SNAPSHOT"
version := "0.1.1-SNAPSHOT"

scalaVersionsByJvm in ThisBuild := {
val v213 = "2.13.0"
Map(
8 -> List(v213 -> true),
11 -> List(v213 -> false),
12 -> List(v213 -> false))
}
crossScalaVersions in ThisBuild := Seq("2.13.0")

scalacOptions ++= Seq("-opt-warnings", "-language:higherKinds", "-deprecation", "-feature", "-Xfatal-warnings")
scalacOptions in (Compile, doc) ++= Seq("-implicits", "-groups")

testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a")
parallelExecution in Test := false // why?

mimaPreviousVersion := Some("0.1.0")

homepage := Some(url("https://github.com/scala/scala-collection-contrib"))
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0"))

Expand Down