-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.mill
39 lines (34 loc) · 1.19 KB
/
build.mill
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
import mill._
import mill.scalalib._
import mill.scalalib.publish._
object Ver {
val circeParser = "0.14.10"
val circeYaml = "0.16.0"
val decline = "2.4.1"
val fs2 = "3.11.0"
val munit = "1.0.3"
}
object `package` extends RootModule with ScalaModule with PublishModule {
def scalaVersion = "3.6.2"
def publishVersion = "0.1.1"
def scalacOptions = Seq("-deprecation", "-Wunused:all", "-release", "11")
def artifactName = "sfenv"
def mainClass = Some("sfenv.Main")
def ivyDeps = Agg(
ivy"com.monovore::decline-effect:${Ver.decline}",
ivy"io.circe::circe-parser:${Ver.circeParser}",
ivy"io.circe::circe-yaml:${Ver.circeYaml}",
ivy"co.fs2::fs2-io:${Ver.fs2}"
)
def pomSettings = PomSettings(
description = "Manage Snowflake environments declaratively",
organization = "org.padhia",
url = "https://github.com/padhia/sfenv",
licenses = Seq(License.MIT),
versionControl = VersionControl.github("padhia", "sfenv"),
developers = Seq(Developer("padhia", "Paresh Adhia", "https://github.com/padhia"))
)
object test extends ScalaTests with TestModule.Munit {
def ivyDeps = Agg(ivy"org.scalameta::munit:${Ver.munit}")
}
}