File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,25 @@ import ScalaZ3Build._
3
3
lazy val root = (project in file(" ." ))
4
4
.settings(
5
5
name := " ScalaZ3" ,
6
- version := " 3 .0" ,
6
+ version := " 4 .0" ,
7
7
organization := " ch.epfl.lara" ,
8
8
scalacOptions ++= Seq (
9
9
" -deprecation" ,
10
10
" -unchecked" ,
11
11
" -feature" ,
12
12
),
13
- scalaVersion := " 2.12.7 " ,
14
- crossScalaVersions := Seq (" 2.10.7" , " 2.11.12" , " 2.12.7 " ),
13
+ scalaVersion := " 2.12.8 " ,
14
+ crossScalaVersions := Seq (" 2.10.7" , " 2.11.12" , " 2.12.8 " ),
15
15
libraryDependencies ++= Seq (
16
- " org.scalatest" %% " scalatest" % " 3.0.1 " % " test"
16
+ " org.scalatest" %% " scalatest" % " 3.0.7 " % " test"
17
17
),
18
+ libraryDependencies ++= {
19
+ CrossVersion .partialVersion(scalaVersion.value) match {
20
+ // if scala 2.11+ is used, add dependency on scala-xml module
21
+ case Some ((2 , scalaMajor)) if scalaMajor >= 11 => Seq (" org.scala-lang.modules" %% " scala-xml" % " 1.2.0" )
22
+ case _ => Seq .empty
23
+ }
24
+ },
18
25
fork in Test := true ,
19
26
checksumKey := checksumTask.value,
20
27
gccKey := gccTask.value,
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ libraryDependencies ++= Seq(
4
4
" org.slf4j" % " slf4j-log4j12" % " 1.7.25"
5
5
)
6
6
7
+ scalacOptions ++= Seq (" -deprecation" , " -feature" )
You can’t perform that action at this time.
0 commit comments