aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt35
1 files changed, 35 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
new file mode 100644
index 0000000..e92779f
--- /dev/null
+++ b/build.sbt
@@ -0,0 +1,35 @@
+// https://typelevel.org/sbt-typelevel/faq.html#what-is-a-base-version-anyway
+ThisBuild / tlBaseVersion := "0.0" // your current series x.y
+
+ThisBuild / organization := "com.codiff"
+ThisBuild / organizationName := "codiff"
+ThisBuild / startYear := Some(2026)
+ThisBuild / licenses := Seq(License.Apache2)
+ThisBuild / developers := List(
+ // your GitHub handle and name
+ tlGitHubDev("amir", "Amir Saeid")
+)
+
+// publish website from this branch
+ThisBuild / tlSitePublishBranch := Some("main")
+
+val Scala213 = "2.13.18"
+ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.7")
+ThisBuild / scalaVersion := Scala213 // the default Scala
+
+lazy val root = tlCrossRootProject.aggregate(core)
+
+lazy val core = crossProject(JVMPlatform, JSPlatform)
+ .crossType(CrossType.Pure)
+ .in(file("core"))
+ .settings(
+ name := "fairstream",
+ libraryDependencies ++= Seq(
+ "org.typelevel" %%% "cats-core" % "2.13.0",
+ "org.typelevel" %%% "cats-effect" % "3.6.3",
+ "org.scalameta" %%% "munit" % "1.2.2" % Test,
+ "org.typelevel" %%% "munit-cats-effect" % "2.1.0" % Test
+ )
+ )
+
+lazy val docs = project.in(file("site")).enablePlugins(TypelevelSitePlugin)