Skip to content

Commit 735bfd4

Browse files
committed
Clean up legacy code
1 parent 52f8737 commit 735bfd4

File tree

13 files changed

+86
-189
lines changed

13 files changed

+86
-189
lines changed

Binding/build.sbt.shared

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,13 @@
1-
organization := "com.thoughtworks.binding"
2-
3-
name := "Binding"
4-
51
description := "Reactive data-binding for Scala. This artifact is available for both Scala.js and JVM."
62

7-
libraryDependencies += "com.thoughtworks.extractor" %%% "extractor" % "2.1.2"
8-
93
libraryDependencies += "com.thoughtworks.enableIf" %% "enableif" % "1.1.7"
104

11-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.1.2"
12-
135
libraryDependencies += "com.thoughtworks.sde" %%% "core" % "3.3.2"
146

157
libraryDependencies += "org.scalatest" %%% "scalatest" % "3.1.0" % Test
168

179
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
1810

19-
// Enable SAM type
20-
scalacOptions += "-Xexperimental"
21-
22-
libraryDependencies ++= {
23-
import Ordering.Implicits._
24-
if (VersionNumber(scalaVersion.value).numbers >= Seq(2L, 13L)) {
25-
None
26-
} else {
27-
Some("org.typelevel" %% "macro-compat" % "1.1.1")
28-
}
29-
}
30-
3111
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % Provided
3212

33-
scalacOptions ++= {
34-
import Ordering.Implicits._
35-
if (VersionNumber(scalaVersion.value).numbers >= Seq(2L, 13L)) {
36-
Some("-Ymacro-annotations")
37-
} else {
38-
None
39-
}
40-
}
41-
42-
libraryDependencies ++= {
43-
import Ordering.Implicits._
44-
if (VersionNumber(scalaVersion.value).numbers >= Seq(2L, 13L)) {
45-
None
46-
} else {
47-
Some(compilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full))
48-
}
49-
}
13+
scalacOptions += "-Ymacro-annotations"

0 commit comments

Comments
 (0)