-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sc
51 lines (43 loc) · 1.29 KB
/
build.sc
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
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0`
import de.tobiasroeser.mill.vcs.version.VcsVersion
import mill._
import mill.scalalib._
import mill.scalalib.publish._
object `skunk-migrate` extends ScalaModule with PublishModule {
def scalaVersion = "3.4.3"
def scalacOptions = Seq(
"-deprecation",
"-explain",
"-feature",
"-language:implicitConversions",
"-new-syntax",
"-source:future",
"-unchecked",
"-Xfatal-warnings",
"-Ykind-projector:underscores",
"-Ysafe-init",
)
def ivyDeps = Agg(
ivy"org.tpolecat::skunk-core:1.1.0-M3"
)
def publishVersion = T {
VcsVersion.vcsState().format(untaggedSuffix = "-SNAPSHOT")
}
def pomSettings = PomSettings(
description = "Database migrations with Skunk",
organization = "io.github.kierendavies",
url = "https://github.com/kierendavies/skunk-migrate",
licenses = Seq(License.MIT),
versionControl = VersionControl.github("kierendavies", "skunk-migrate"),
developers = Seq(
Developer("kierendavies", "Kieren Davies", "https://github.com/kierendavies")
),
)
object test extends ScalaTests {
def testFramework = "munit.Framework"
def ivyDeps = Agg(
ivy"org.scalameta::munit::1.0.4",
ivy"org.typelevel::munit-cats-effect:2.0.0",
)
}
}