1
1
organization := " tv.cntt"
2
2
name := " scaposer"
3
- version := " 1.10 -SNAPSHOT"
3
+ version := " 1.11 -SNAPSHOT"
4
4
5
- scalaVersion := " 2.11.8 "
6
- crossScalaVersions := Seq (" 2.11.8" , " 2.10.6" )
5
+ scalaVersion := " 2.12.1 "
6
+ crossScalaVersions := Seq (" 2.12.1 " , " 2. 11.8" , " 2.10.6" )
7
7
8
8
scalacOptions ++= Seq (" -deprecation" , " -feature" , " -unchecked" )
9
+ javacOptions ++= Seq (" -source" , " 1.8" , " -target" , " 1.8" )
9
10
10
- // http://www.scala-sbt.org/release/docs/Detailed-Topics/Java-Sources
11
- // Avoid problem when this lib is built with Java 7 but the projects that use it
12
- // are run with Java 6
13
- // java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0
14
- javacOptions ++= Seq (" -source" , " 1.6" , " -target" , " 1.6" )
15
-
16
- // Scala 2.11 core does not include scala.util.parsing.combinator
11
+ // Scala 2.11+ core does not include scala.util.parsing.combinator
17
12
libraryDependencies := {
18
13
CrossVersion .partialVersion(scalaVersion.value) match {
19
14
case Some ((2 , scalaMajor)) if scalaMajor >= 11 =>
@@ -23,10 +18,4 @@ libraryDependencies := {
23
18
}
24
19
}
25
20
26
- libraryDependencies += " org.specs2" %% " specs2-core" % " 3.8.3" % " test"
27
-
28
- // ------------------------------------------------------------------------------
29
-
30
- // Skip API doc generation to speedup "publish-local" while developing.
31
- // Comment out this line when publishing to Sonatype.
32
- publishArtifact in (Compile , packageDoc) := false
21
+ libraryDependencies += " org.specs2" %% " specs2-core" % " 3.8.6" % " test"
0 commit comments