|
| 1 | +// TODO Make it a cross project when Scala.js is released for 2.13.0-M4 |
| 2 | + |
| 3 | +scalaVersion := "2.13.0-M4-pre-20d3c21" |
| 4 | + |
| 5 | +organization := "org.scala-lang" |
| 6 | + |
| 7 | +version := "0.1.0-SNAPSHOT" |
| 8 | + |
| 9 | +scalacOptions ++= Seq("-deprecation", "-feature", "-opt-warnings", "-unchecked", "-language:higherKinds") |
| 10 | + |
| 11 | +scalacOptions in (Compile, doc) ++= Seq("-implicits", "-groups") |
| 12 | + |
| 13 | +testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a") |
| 14 | + |
| 15 | +fork in Test := true |
| 16 | + |
| 17 | +parallelExecution in Test := false |
| 18 | + |
| 19 | +homepage := Some(url("https://github.com/scala/scala-collection-contrib")) |
| 20 | + |
| 21 | +licenses := Seq("BSD 3-clause" -> url("http://opensource.org/licenses/BSD-3-Clause")) |
| 22 | + |
| 23 | +scmInfo := Some( |
| 24 | + ScmInfo( |
| 25 | + url("https://github.com/scala/scala-collection-contrib"), |
| 26 | + "scm:git:[email protected]:scala/scala-collection-contrib.git" |
| 27 | + ) |
| 28 | +) |
| 29 | + |
| 30 | +pomExtra := |
| 31 | + <developers> |
| 32 | + <developer><id>julienrf</id><name>Julien Richard-Foy</name></developer> |
| 33 | + <developer><id>szeiger</id><name>Stefan Zeiger</name></developer> |
| 34 | + </developers> |
| 35 | + |
| 36 | +// For publishing snapshots |
| 37 | +credentials ++= ( |
| 38 | + for { |
| 39 | + username <- sys.env.get("SONATYPE_USERNAME") |
| 40 | + password <- sys.env.get("SONATYPE_PASSWORD") |
| 41 | + } yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password) |
| 42 | +).toList |
| 43 | + |
| 44 | +libraryDependencies ++= Seq( |
| 45 | + "junit" % "junit" % "4.11", |
| 46 | + "com.novocode" % "junit-interface" % "0.11" % Test, |
| 47 | + "org.openjdk.jol" % "jol-core" % "0.5" |
| 48 | +) |
| 49 | + |
0 commit comments