-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (33 loc) · 1.3 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
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / organization := "com.armanbilge"
ThisBuild / organizationName := "Arman Bilge"
ThisBuild / developers += tlGitHubDev("armanbilge", "Arman Bilge")
ThisBuild / startYear := Some(2022)
ThisBuild / tlSonatypeUseLegacyHost := false
ThisBuild / crossScalaVersions := Seq("2.12.18")
val http4sVersion = "0.23.23"
val brotli4jVersion = "1.12.0"
lazy val root = tlCrossRootProject.aggregate(bundlemon)
lazy val bundlemon = project
.in(file("bundlemon"))
.settings(
name := "sbt-bundlemon",
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"com.aayushatharva.brotli4j" % "brotli4j" % brotli4jVersion,
"com.aayushatharva.brotli4j" % "native-linux-x86_64" % brotli4jVersion
),
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.1"),
buildInfoPackage := "com.armanbilge.sbt.bundlemon",
buildInfoOptions += BuildInfoOption.PackagePrivate,
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
Test / test := {
scripted.toTask("").value
},
tlVersionIntroduced := Map("2.12" -> "0.1.3")
)
.enablePlugins(SbtPlugin, BuildInfoPlugin)