File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 40
40
- $HOME/.sbt/boot
41
41
42
42
script :
43
- - sbt ++$TRAVIS_SCALA_VERSION clean scalajavatimeJVM/test
44
- - sbt ++$TRAVIS_SCALA_VERSION clean scalajavatimeJS/test
45
- - sbt docs/makeMicrosite
43
+ - sbt ++$TRAVIS_SCALA_VERSION clean scalajavatimeJVM/test scalajavatimeJS/test scalajavatimeJVM/publishLocal scalajavatimeJS/publishLocal docs/makeMicrosite
46
44
# Tricks to avoid unnecessary cache updates, from
47
45
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
48
46
- find $HOME/.sbt -name "*.lock" | xargs rm
Original file line number Diff line number Diff line change @@ -33,7 +33,16 @@ lazy val commonSettings = Seq(
33
33
scalacOptions.value
34
34
}
35
35
},
36
- javaOptions ++= Seq (" -Dfile.encoding=UTF8" ),
36
+ scalacOptions in (Compile , doc) := {
37
+ CrossVersion .partialVersion(scalaVersion.value) match {
38
+ case Some ((2 , scalaMajor)) if scalaMajor >= 11 =>
39
+ Seq (" -deprecation:false" )
40
+ case Some ((2 , 10 )) =>
41
+ Seq .empty
42
+ }
43
+ },
44
+ javaOptions ++= Seq (" -Dfile.encoding=UTF8" ),
45
+ autoAPIMappings := true ,
37
46
38
47
publishArtifact in Test := false ,
39
48
publishMavenStyle := true ,
You can’t perform that action at this time.
0 commit comments