@@ -8,8 +8,6 @@ object SettingsPlugin extends AutoPlugin {
8
8
override def requires : Plugins = JvmPlugin
9
9
10
10
private val javaVersion = " 1.8"
11
- private val scalatestStable = " 3.0.5"
12
- private val scalatestSnapshot = " 3.0.6-SNAP4"
13
11
14
12
object autoImport {
15
13
val scalatestVersion = settingKey[String ](" Version of scalatest to use" )
@@ -22,13 +20,8 @@ object SettingsPlugin extends AutoPlugin {
22
20
version := (version in LocalRootProject ).value,
23
21
scalaVersion := (scalaVersion in LocalRootProject ).value,
24
22
crossScalaVersions := (crossScalaVersions in LocalRootProject ).value,
25
- javacOptions ++= Seq (" -source" , javaVersion,
26
- " -target" , javaVersion,
27
- " -Xlint" ),
28
- scalacOptions ++= Seq (s " -target:jvm- $javaVersion" ,
29
- " -deprecation" ,
30
- " -feature" ,
31
- " -unchecked" ),
23
+ javacOptions ++= Seq (" -source" , javaVersion, " -target" , javaVersion, " -Xlint" ),
24
+ scalacOptions ++= Seq (s " -target:jvm- $javaVersion" , " -deprecation" , " -feature" , " -unchecked" ),
32
25
libraryDependencies ++= (libraryDependencies in LocalRootProject ).value,
33
26
scalafmtVersion := " 1.5.1" ,
34
27
autoAPIMappings := true ,
@@ -40,12 +33,10 @@ object SettingsPlugin extends AutoPlugin {
40
33
organizationName := " Michael Stringer" ,
41
34
organizationHomepage := Some (url(" https://purpledragon.software" )),
42
35
homepage := Some (url(" https://stringbean.github.io/scala-xml-compare" )),
43
- scmInfo := Some (ScmInfo (url(" https://github.com/stringbean/scala-xml-compare" ), " https://github.com/stringbean/scala-xml-compare.git" )),
44
- scalatestVersion := {
45
- scalaVersion.value match {
46
- case " 2.13.0-M5" => scalatestSnapshot
47
- case _ => scalatestStable
48
- }
49
- }
36
+ scmInfo := Some (
37
+ ScmInfo (
38
+ url(" https://github.com/stringbean/scala-xml-compare" ),
39
+ " https://github.com/stringbean/scala-xml-compare.git" )),
40
+ scalatestVersion := " 3.0.8"
50
41
)
51
42
}
0 commit comments