Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.
Open
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
21 changes: 17 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,31 @@ version := "2.0-SNAPSHOT"

organization := "org.scalanlp"

scalaVersion := "2.11.8"
scalaVersion := scalaVersion_2_11

licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))

//crossScalaVersions := Seq("2.10.6", "2.11.7")
crossScalaVersions := Seq(scalaVersion_2_10, scalaVersion_2_11, scalaVersion_2_12)

libraryDependencies ++= Seq(
"org.scala-graph" %% "graph-core" % "1.11.4",
"org.rogach" %% "scallop" % "2.0.6",
"org.scalatest" % "scalatest_2.10" % "1.9.1" % "test"
"org.scalatest" %% "scalatest" % "3.0.3" % "test"
)

libraryDependencies += scalaVersion {
// Versions of graph-core higher than 1.10.0 are not published for scala-2.10.
case `scalaVersion_2_10` => "com.assembla.scala-incubator" %% "graph-core" % "1.10.0"
case _ => "org.scala-graph" %% "graph-core" % "1.11.4"
}.value


enablePlugins(JavaAppPackaging)

mainClass in Compile := Some("junto.Junto")

lazy val scalaVersion_2_10 = "2.10.6"

lazy val scalaVersion_2_11 = "2.11.11"

lazy val scalaVersion_2_12 = "2.12.2"