forked from edulify/play-hikaricp.edulify.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
69 lines (48 loc) · 1.83 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
61
62
63
64
65
66
67
68
name := "play-hikaricp"
version := "2.0.5"
scalaVersion := "2.11.6"
crossScalaVersions := Seq("2.10.5", "2.11.6")
lazy val root = (project in file(".")).enablePlugins(PlayScala)
libraryDependencies ++= Seq(
jdbc,
"com.zaxxer" % "HikariCP" % "2.3.7",
"com.googlecode.usc" % "jdbcdslog" % "1.0.6.2",
"com.h2database" % "h2" % "1.4.187" % "test"
)
resolvers ++= Seq(
Resolver.typesafeRepo("releases"),
"Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"
)
organization := "com.edulify"
organizationName := "Edulify.com"
organizationHomepage := Some(new URL("https://edulify.com"))
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
startYear := Some(2012)
description := "HikariCP Plugin for Play Framework 2.2.x"
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("http://edulify.github.io/play-hikaricp.edulify.com/"))
pomExtra :=
<scm>
<url>https://github.com/edulify/play-hikaricp.edulify.com</url>
<connection>scm:git:[email protected]:edulify/play-hikaricp.edulify.com.git</connection>
<developerConnection>scm:git:https://github.com/edulify/play-hikaricp.edulify.com.git</developerConnection>
</scm>
<developers>
<developer>
<id>megazord</id>
<name>Megazord</name>
<email>contact [at] edulify.com</email>
<url>https://github.com/megazord</url>
</developer>
</developers>
scalacOptions := Seq("-feature", "-deprecation")