This repository has been archived by the owner on Apr 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
47 lines (42 loc) · 1.42 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
val scalafmtV = "2.3.2"
val metaconfigV = "0.9.4"
val scalatestV = "3.1.4"
val scoptV = "3.7.1"
val similarityV = "1.2.1"
lazy val scalaunfmt = (project in file(".")).
enablePlugins(BuildInfoPlugin).
settings(
name := "scalaunfmt",
organization := "com.github.tanishiking",
scalaVersion := "2.12.7",
libraryDependencies ++= Seq(
"org.scalameta" %% "scalafmt-dynamic" % scalafmtV,
"com.geirsson" %% "metaconfig-core" % metaconfigV,
"com.geirsson" %% "metaconfig-typesafe-config" % metaconfigV,
"com.github.scopt" %% "scopt" % scoptV,
"org.scalatest" %% "scalatest" % scalatestV % "test",
"info.debatty" % "java-string-similarity" % similarityV,
// undeclared transitive dependency of coursier-small
"org.scala-lang.modules" %% "scala-xml" % "1.2.0"
),
// Compilation
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-opt:l:inline",
"-opt-inline-from"
),
buildInfoKeys := Seq[BuildInfoKey](version),
buildInfoPackage := "com.github.tanishiking.scalaunfmt",
homepage := Some(url("https://github.com/tanishiking/scalaunfmt")),
licenses := List("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php")),
developers := List(
Developer(
"tanishiking",
"Rikito Taniguchi",
"rikiriki1238@gmail.com",
url("https://github.com/tanishiking")
)
)
)