Skip to content

Commit b1e3604

Browse files
Merge pull request #34 from alexarchambault/develop
Various things
2 parents d200c9d + bf37c9c commit b1e3604

File tree

28 files changed

+543
-1876
lines changed

28 files changed

+543
-1876
lines changed

build.sbt

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import Aliases._
33
import Settings._
44

5+
import sbtcrossproject.CrossPlugin.autoImport.crossProject
6+
57

68
inThisBuild(List(
79
organization := "org.plotly-scala",
@@ -18,7 +20,7 @@ inThisBuild(List(
1820
))
1921

2022

21-
lazy val core = crossProject
23+
lazy val core = crossProject(JVMPlatform, JSPlatform)
2224
.settings(
2325
shared,
2426
plotlyPrefix
@@ -35,38 +37,18 @@ lazy val `joda-time` = project
3537
libs += Deps.jodaTime
3638
)
3739

38-
lazy val `circe-simple-generic` = crossProject
39-
.settings(
40-
shared,
41-
libs ++= Seq(
42-
Deps.circeCore.value,
43-
Deps.circeParser.value,
44-
Deps.shapeless.value,
45-
Deps.scalacheckShapeless.value % "test"
46-
),
47-
utest
48-
)
49-
.jsSettings(
50-
scalaJSStage in Global := FastOptStage
51-
)
52-
53-
lazy val circeSimpleGenericJvm = `circe-simple-generic`.jvm
54-
lazy val circeSimpleGenericJs = `circe-simple-generic`.js
55-
56-
lazy val render = crossProject
57-
.dependsOn(core, `circe-simple-generic`)
40+
lazy val render = crossProject(JVMPlatform, JSPlatform)
41+
.dependsOn(core)
5842
.settings(
5943
shared,
60-
plotlyPrefix
44+
plotlyPrefix,
45+
libs += Deps.argonautShapeless.value
6146
)
6247
.jvmSettings(
6348
libs += WebDeps.plotlyJs
6449
)
6550
.jsSettings(
66-
libs ++= Seq(
67-
Deps.circeScalaJs.value,
68-
Deps.scalajsDom.value
69-
)
51+
libs += Deps.scalajsDom.value
7052
)
7153

7254
lazy val renderJvm = render.jvm
@@ -126,7 +108,6 @@ lazy val tests = project
126108
dontPublish,
127109
plotlyPrefix,
128110
libs ++= Seq(
129-
Deps.circeLiteral.value % "test",
130111
Deps.scalaTest % "test",
131112
Deps.rhino % "test"
132113
)
@@ -137,9 +118,7 @@ lazy val almond = project
137118
.settings(
138119
shared,
139120
plotlyPrefix,
140-
libs ++= Seq(
141-
Deps.almondScalaApi % "provided"
142-
)
121+
libs += Deps.almondScalaApi % "provided"
143122
)
144123

145124

@@ -149,8 +128,6 @@ lazy val `plotly-scala` = project
149128
coreJvm,
150129
coreJs,
151130
`joda-time`,
152-
circeSimpleGenericJvm,
153-
circeSimpleGenericJs,
154131
renderJvm,
155132
renderJs,
156133
demo,

circe-simple-generic/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

circe-simple-generic/shared/src/main/scala/io/circe/simplegeneric/derive/DerivedInstances.scala

Lines changed: 0 additions & 21 deletions
This file was deleted.

circe-simple-generic/shared/src/main/scala/io/circe/simplegeneric/derive/JsonProductCodec.scala

Lines changed: 0 additions & 62 deletions
This file was deleted.

circe-simple-generic/shared/src/main/scala/io/circe/simplegeneric/derive/JsonSumCodec.scala

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)