-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
62 lines (48 loc) · 1.66 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
60
// Generated with scalagen
val akkaVersion = "10.0.11"
val circeVersion = "0.9.2"
ensimeIgnoreScalaMismatch in ThisBuild := true
scalacOptions in ThisBuild := Seq(
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-Ypartial-unification",
"-language:postfixOps"
)
lazy val root = (project in file(".")).
settings(
name := "writethedocs",
version := "0.6.1",
scalaVersion := "2.12.5",
organization := "io.mwielocha"
).enablePlugins(SbtTwirl)
//mainClass in (Compile, run) := Some("...")
libraryDependencies ++= Seq(
"com.github.pathikrit" %% "better-files" % "3.4.0",
"com.typesafe.akka" %% "akka-http-core" % akkaVersion,
"org.scalatest" %% "scalatest" % "3.0.0",
"com.typesafe.akka" %% "akka-http-testkit" % akkaVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"de.heikoseeberger" %% "akka-http-circe" % "1.19.0" % "test"
)
TwirlKeys.templateImports += "io.mwielocha.writethedocs._"
// POM settings for Sonatype
homepage := Some(url("https://github.com/mwielocha/writethedocs"))
scmInfo := Some(
ScmInfo(url("https://github.com/mwielocha/writethedocs"),
"[email protected]:mwielocha/writethedocs.git"))
developers := List(Developer("mwielocha",
"Mikolaj Wielocha",
url("https://github.com/mwielocha")))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
publishMavenStyle := true
// Add sonatype repository settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)