-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
72 lines (62 loc) · 2.38 KB
/
build.sbt
File metadata and controls
72 lines (62 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
lazy val scala212 = "2.12.19"
lazy val scala213 = "2.13.16"
lazy val scala3 = "3.3.6"
lazy val supportedScalaVersions = List(scala212, scala213, scala3)
ThisBuild / scalaVersion := scala213
ThisBuild / version := "0.5.0-SNAPSHOT"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / organization := "com.github.jumale"
ThisBuild / homepage := Some(url("https://github.com/jumale/sdebug"))
ThisBuild / licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.2.19"
lazy val scalactic = "org.scalactic" %% "scalactic" % "3.2.19"
lazy val playJson = "com.typesafe.play" %% "play-json" % "2.10.5"
lazy val slick = "com.typesafe.slick" %% "slick" % "3.6.1"
lazy val root = (project in file("."))
.aggregate(core, playJsonSupport, slickSupport, scalacticSupport, impl, implExt)
.settings(name := "sdebug")
lazy val core = (project in file("./core"))
.settings( //
name := "sdebug-core",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(scalaTest % Test)
)
lazy val playJsonSupport = (project in file("./play-json"))
.settings( //
name := "sdebug-play-json",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(scalaTest % Test, playJson)
)
.dependsOn(core)
lazy val slickSupport = (project in file("./slick"))
.settings( //
name := "sdebug-slick",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(
slick,
scalaTest % Test,
)
)
.dependsOn(core)
lazy val scalacticSupport = (project in file("./scalactic"))
.settings( //
name := "sdebug-scalactic",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(scalaTest % Test, scalactic)
)
.dependsOn(core)
lazy val impl = (project in file("./impl"))
.settings( //
name := "sdebug-impl",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(scalaTest % Test)
)
.dependsOn(core)
lazy val implExt = (project in file("./impl-ext"))
.settings( //
name := "sdebug-impl-ext",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= Seq(scalaTest % Test)
)
.dependsOn(core, playJsonSupport, slickSupport, scalacticSupport)
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for instructions on how to publish to Sonatype.