@@ -5,60 +5,11 @@ import sbt._
5
5
6
6
import scala .language .postfixOps
7
7
8
- val scalaJsIOVersion = " 0.4.3 "
8
+ val scalaJsIOVersion = " 0.5.0 "
9
9
val apiVersion = scalaJsIOVersion
10
- val scalaJsVersion = " 2.12.3 "
10
+ val scalaJsVersion = " 2.12.8 "
11
11
12
12
lazy val root = (project in file(" ." )).
13
- aggregate(common, current, lts).
14
- dependsOn(common, current, lts).
15
- enablePlugins(ScalaJSPlugin ).
16
- settings(
17
- name := " nodejs-platform" ,
18
- version := apiVersion,
19
- organization := " io.scalajs" ,
20
- description := " NodeJS build artifact" ,
21
- homepage := Some (url(" https://github.com/scalajs-io/nodejs" )),
22
- scalaVersion := scalaJsVersion,
23
- scalacOptions ++= Seq (" -deprecation" , " -unchecked" , " -feature" , " -language:implicitConversions" , " -Xlint" ),
24
- scalacOptions += " -P:scalajs:sjsDefinedByDefault" ,
25
- scalacOptions in(Compile , doc) ++= Seq (" -no-link-warnings" ),
26
- autoCompilerPlugins := true ,
27
- scalaJSModuleKind := ModuleKind .CommonJSModule ,
28
- addCompilerPlugin(" org.scalamacros" % " paradise" % " 2.1.0" cross CrossVersion .full),
29
- logBuffered in Test := true ,
30
- libraryDependencies ++= Seq (
31
- " org.scala-lang" % " scala-reflect" % scalaJsVersion,
32
- " org.scalactic" %% " scalactic" % " 3.0.1" ,
33
- " org.scalatest" %%% " scalatest" % " 3.0.1" % " test" ,
34
- " io.scalajs" %%% " core" % scalaJsIOVersion
35
- ))
36
-
37
- lazy val common = (project in file(" ./app/common" )).
38
- enablePlugins(ScalaJSPlugin ).
39
- settings(
40
- name := " nodejs-common" ,
41
- version := apiVersion,
42
- organization := " io.scalajs" ,
43
- description := " NodeJS common API" ,
44
- homepage := Some (url(" https://github.com/scalajs-io/nodejs" )),
45
- scalaVersion := scalaJsVersion,
46
- scalacOptions ++= Seq (" -deprecation" , " -unchecked" , " -feature" , " -language:implicitConversions" , " -Xlint" ),
47
- scalacOptions += " -P:scalajs:sjsDefinedByDefault" ,
48
- scalacOptions in(Compile , doc) ++= Seq (" -no-link-warnings" ),
49
- autoCompilerPlugins := true ,
50
- scalaJSModuleKind := ModuleKind .CommonJSModule ,
51
- addCompilerPlugin(" org.scalamacros" % " paradise" % " 2.1.0" cross CrossVersion .full),
52
- logBuffered in Test := true ,
53
- libraryDependencies ++= Seq (
54
- " org.scala-lang" % " scala-reflect" % scalaJsVersion,
55
- " org.scalactic" %% " scalactic" % " 3.0.1" ,
56
- " org.scalatest" %%% " scalatest" % " 3.0.1" % " test" ,
57
- " io.scalajs" %%% " core" % scalaJsIOVersion
58
- ))
59
-
60
- lazy val current = (project in file(" ./app/current" )).
61
- dependsOn(common).
62
13
enablePlugins(ScalaJSPlugin ).
63
14
settings(
64
15
name := " nodejs" ,
@@ -70,35 +21,14 @@ lazy val current = (project in file("./app/current")).
70
21
scalacOptions ++= Seq (" -deprecation" , " -unchecked" , " -feature" , " -language:implicitConversions" , " -Xlint" ),
71
22
scalacOptions += " -P:scalajs:sjsDefinedByDefault" ,
72
23
scalacOptions in(Compile , doc) ++= Seq (" -no-link-warnings" ),
73
- autoCompilerPlugins := true ,
74
- scalaJSModuleKind := ModuleKind .CommonJSModule ,
75
- addCompilerPlugin(" org.scalamacros" % " paradise" % " 2.1.0" cross CrossVersion .full),
76
- logBuffered in Test := true ,
77
- libraryDependencies ++= Seq (
78
- " org.scala-lang" % " scala-reflect" % scalaJsVersion,
79
- " org.scalactic" %% " scalactic" % " 3.0.1" ,
80
- " org.scalatest" %%% " scalatest" % " 3.0.1" % " test"
81
- ))
82
-
83
- lazy val lts = (project in file(" ./app/lts" )).
84
- dependsOn(common).
85
- enablePlugins(ScalaJSPlugin ).
86
- settings(
87
- name := " nodejs-lts" ,
88
- version := apiVersion,
89
- organization := " io.scalajs" ,
90
- description := " NodeJS LTS v6.11.4 API for Scala.js" ,
91
- homepage := Some (url(" https://github.com/scalajs-io/nodejs" )),
92
- scalaVersion := scalaJsVersion,
93
- scalacOptions ++= Seq (" -deprecation" , " -unchecked" , " -feature" , " -language:implicitConversions" , " -Xlint" ),
94
24
scalacOptions += " -P:scalajs:sjsDefinedByDefault" ,
95
- scalacOptions in(Compile , doc) ++= Seq (" -no-link-warnings" ),
96
25
autoCompilerPlugins := true ,
97
26
scalaJSModuleKind := ModuleKind .CommonJSModule ,
98
- addCompilerPlugin(" org.scalamacros" % " paradise" % " 2.1.0 " cross CrossVersion .full),
27
+ addCompilerPlugin(" org.scalamacros" % " paradise" % " 2.1.1 " cross CrossVersion .full),
99
28
logBuffered in Test := true ,
100
29
libraryDependencies ++= Seq (
101
30
" org.scala-lang" % " scala-reflect" % scalaJsVersion,
31
+ " io.scalajs" %%% " core" % scalaJsIOVersion,
102
32
" org.scalactic" %% " scalactic" % " 3.0.1" ,
103
33
" org.scalatest" %%% " scalatest" % " 3.0.1" % " test"
104
34
))
0 commit comments