-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
71 lines (65 loc) · 2.49 KB
/
build.sbt
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
val scala3Version = "3.3.3"
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / scalacOptions ++= Seq("-old-syntax", "-no-indent", "-source:future", "-Ykind-projector:underscores")
ThisBuild / scalaVersion := scala3Version
ThisBuild / startYear := Some(2023)
ThisBuild / organization := "io.github.thedrawingcoder-gamer"
ThisBuild / organizationName := "BulbyVR"
ThisBuild / organizationHomepage := Some(url("https://thedrawingcoder-gamer.github.io/"))
ThisBuild / tlCiReleaseBranches := Seq("master")
ThisBuild / tlSitePublishBranch := Some("master")
ThisBuild / tlSiteApiUrl := Some(url("https://javadoc.io/doc/io.github.thedrawingcoder-gamer/swing-io_3/latest/index.html"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/TheDrawingCoder-Gamer/Swing.IO"),
"scm:[email protected]:TheDrawingCoder-Gamer/Swing.IO.git"
)
)
ThisBuild / developers := List(
Developer(
id = "bulbyvr",
name = "Ben Harless",
email = "[email protected]",
url = url("https://thedrawingcoder-gamer.github.io/")
)
)
ThisBuild / tlSonatypeUseLegacyHost := false
ThisBuild / description := "Swing in the IO Monad"
ThisBuild / licenses := List(
"Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / homepage := Some(url("https://github.com/TheDrawingCoder-Gamer/Swing.IO"))
ThisBuild / publishTo := {
val sonatype = "https://s01.oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at sonatype + "content/repositories/snapshots")
else
Some("releases" at sonatype + "service/local/staging/deploy/maven2")
}
lazy val swingio = project
.in(file("swingio"))
.settings(
name := "swing-io",
libraryDependencies += "org.scalameta" %% "munit" % "0.7.29" % Test,
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.4.8",
libraryDependencies += "co.fs2" %% "fs2-core" % "3.6.1",
libraryDependencies += "org.typelevel" %% "log4cats-core" % "2.5.0",
libraryDependencies += "org.typelevel" %% "shapeless3-deriving" % "3.4.0",
libraryDependencies += "org.typelevel" %% "log4cats-slf4j" % "2.5.0" % Test,
libraryDependencies += "org.slf4j" % "slf4j-simple" % "2.0.6" % Test,
)
lazy val simple = project
.enablePlugins(NoPublishPlugin)
.in(file("simple"))
.dependsOn(swingio)
.settings(
name := "simple",
assembly / assemblyJarName := "assembly.jar",
)
lazy val root =
project
.enablePlugins(NoPublishPlugin)
.aggregate(swingio, simple)
lazy val docs = project
.in(file("site"))
.enablePlugins(TypelevelSitePlugin)