This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
61 lines (48 loc) · 1.81 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
val scalikeJDBCVersion = "3.3.3"
val skinnyORMVersion = "3.0.2"
organization := "org.scalikejdbc"
name := "ddd-repository-example"
scalaVersion := "2.12.8"
version := "0.1.0-SNAPSHOT"
libraryDependencies ++= Seq(
"org.scalikejdbc" %% "scalikejdbc" % scalikeJDBCVersion % "compile",
"org.skinny-framework" %% "skinny-orm" % skinnyORMVersion % "compile",
"org.scalikejdbc" %% "scalikejdbc-test" % scalikeJDBCVersion % "test",
"com.h2database" % "h2" % "1.4.198" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test",
"org.specs2" %% "specs2-core" % "4.3.6" % "test"
)
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")
}
publishMavenStyle := true
scalacOptions ++= Seq("-unchecked")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
pomExtra := <url>https://github.com/scalikejdbc/ddd-repository-example</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:scalikejdbc/ddd-repository-example.git</url>
<connection>scm:git:[email protected]:scalikejdbc/ddd-repository-example.git</connection>
</scm>
<developers>
<developer>
<id>j5ik2o</id>
<name>Junichi Kato</name>
<url>https://github.com/j5ik2o</url>
</developer>
<developer>
<id>seratch</id>
<name>Kazuhiro Sera</name>
<url>https://github.com/seratch</url>
</developer>
</developers>