-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
59 lines (52 loc) · 1.65 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
import sbt._
import sbt.io.Using
val scalaVer = "2.12.20"
Global / onChangedBuildSource := ReloadOnSourceChanges
resolvers in Global += Resolver.sonatypeRepo("public")
pluginCrossBuild / sbtVersion := "1.2.8"
inThisBuild(
List(
organization := "io.github.cquiroz",
homepage := Some(url("https://github.com/cquiroz/sbt-tzdb")),
licenses := Seq("BSD 3-Clause License" -> url("https://opensource.org/licenses/BSD-3-Clause")),
developers := List(
Developer("cquiroz",
"Carlos Quiroz",
url("https://github.com/cquiroz")
)
),
scmInfo := Some(
ScmInfo(
url("https://github.com/cquiroz/sbt-tzdb"),
"scm:git:[email protected]:cquiroz/sbt-tzdb.git"
)
)
)
)
lazy val commonSettings = Seq(
name := "sbt-tzdb",
description := "Sbt plugin to build custom timezone databases",
organization := "io.github.cquiroz",
scalaVersion := scalaVer,
javaOptions ++= Seq("-Dfile.encoding=UTF8")
)
lazy val sbt_tzdb = project
.in(file("sbt-tzdb"))
.enablePlugins(SbtPlugin)
.settings(commonSettings: _*)
.settings(
name := "sbt-tzdb",
libraryDependencies ++= Seq(
"io.github.cquiroz" %% "kuyfi" % "1.5.3",
"org.apache.commons" % "commons-compress" % "1.24.0",
"com.eed3si9n" %% "gigahorse-okhttp" % "0.7.0",
"org.typelevel" %% "cats-core" % "2.12.0",
"org.typelevel" %% "cats-effect" % "3.5.7"
),
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false
)