This repository has been archived by the owner on Oct 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuild.sbt
52 lines (51 loc) · 1.71 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
lazy val publishSettings = Seq(
publishMavenStyle := true,
publishMavenStyle := true,
publishArtifact := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false,
licenses := Seq(
"MIT" -> url("http://www.opensource.org/licenses/mit-license.php")),
homepage := Some(url("https://github.com/olafurpg/db-codegen")),
autoAPIMappings := true,
apiURL := Some(url("https://github.com/olafurpg/db-codegen")),
scmInfo := Some(
ScmInfo(
url("https://github.com/olafurpg/db-codegen"),
"scm:git:[email protected]:olafurpg/db-codegen.git"
)
),
pomExtra :=
<developers>
<developer>
<id>olafurpg</id>
<name>Ólafur Páll Geirsson</name>
<url>https://geirsson.com</url>
</developer>
</developers>
)
lazy val `launaskil-codegen` =
(project in file("."))
.settings(packSettings)
.settings(publishSettings)
.settings(
name := "scala-db-codegen",
organization := "com.geirsson",
scalaVersion := "2.11.8",
version := com.geirsson.codegen.Versions.nightly,
packMain := Map("scala-db-codegen" -> "com.geirsson.codegen.Codegen"),
libraryDependencies ++= Seq(
"com.geirsson" %% "scalafmt-core" % "0.3.0",
"io.getquill" %% "quill-core" % "0.8.0",
"com.h2database" % "h2" % "1.4.192",
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41",
"com.github.alexarchambault" %% "case-app" % "1.0.0-RC3",
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
)
)