-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
executable file
·52 lines (35 loc) · 1.46 KB
/
build.sbt
File metadata and controls
executable file
·52 lines (35 loc) · 1.46 KB
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
name:= "brigitte"
scalaVersion := "2.12.4"
version := "0.2.2"
crossScalaVersions := Seq("2.11.11", "2.12.4")
organization := "com.kreactive"
scalacOptions ++= Seq("-deprecation")
bintrayOrganization in ThisBuild := Some("kreactive")
licenses in ThisBuild := List(
("Apache-2.0",
url("https://www.apache.org/licenses/LICENSE-2.0"))
)
homepage in ThisBuild := Some(url("https://github.com/kreactive"))
publishTo := Some("kreactive bintray" at "https://api.bintray.com/maven/kreactive/maven/brigitte")
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
publishMavenStyle := true
bintrayReleaseOnPublish in ThisBuild := false
lazy val brigitte = project.in(file("."))
val betterFiles: SettingKey[String] = SettingKey[String]("betterFilesVersion", "Version for better files, depending on scalaVersion")
betterFiles := {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) => "2.16.0"
case Some((2, 12)) => "3.1.0"
case _ => "3.1.0"
}
}
resolvers += Resolver.bintrayRepo("kreactive", "maven")
libraryDependencies ++= Seq (
"com.github.pathikrit" %% "better-files" % betterFiles.value,
"com.chuusai" %% "shapeless" % Version.shapeless,
"com.github.kxbmap" %% "configs" % "0.4.4",
"org.eclipse.jgit" % "org.eclipse.jgit" % "4.8.0.201706111038-r",
"com.typesafe.akka" %% "akka-stream" % Version.akka,
"com.typesafe.akka" %% "akka-http" % Version.akkaHttp,
"com.kreactive" %% "pactole-http" % Version.pactole
)