-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.sbt
36 lines (33 loc) · 1.09 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
lazy val root = (project in file("."))
.settings(basicSettings: _*)
.settings(dependencySettings: _*)
lazy val basicSettings = Seq(
name := "config-annotation",
organization := "com.wacai",
homepage := Some(url("https://github.com/hanabix/config-annotation")),
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"zhongl",
"Lunfu Zhong",
url("https://github.com/zhongl")
)
),
scalaVersion := "2.13.12",
scalacOptions += "-Ymacro-annotations",
scalacOptions += "-encoding",
scalacOptions += "utf8",
scalacOptions += "-feature",
scalacOptions += "-unchecked",
scalacOptions += "-deprecation",
scalacOptions += "-Xmacro-settings:conf.output.dir=src/test/resources",
scalacOptions += "-language:_"
)
lazy val dependencySettings = Seq(
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
libraryDependencies += "com.typesafe" % "config" % "1.4.3",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.17" % "test"
)