|
1 |
| -organization := "com.thoughtworks.binding" |
2 |
| - |
3 |
| -name := "Binding" |
4 |
| - |
5 | 1 | description := "Reactive data-binding for Scala. This artifact is available for both Scala.js and JVM."
|
6 | 2 |
|
7 |
| -libraryDependencies += "com.thoughtworks.extractor" %%% "extractor" % "2.1.2" |
8 |
| - |
9 | 3 | libraryDependencies += "com.thoughtworks.enableIf" %% "enableif" % "1.1.7"
|
10 | 4 |
|
11 |
| -libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.1.2" |
12 |
| - |
13 | 5 | libraryDependencies += "com.thoughtworks.sde" %%% "core" % "3.3.2"
|
14 | 6 |
|
15 | 7 | libraryDependencies += "org.scalatest" %%% "scalatest" % "3.1.0" % Test
|
16 | 8 |
|
17 | 9 | libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
|
18 | 10 |
|
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 |
| - |
31 | 11 | libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % Provided
|
32 | 12 |
|
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