forked from coursera/autoschema
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.sbt
63 lines (48 loc) · 1.63 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
lazy val root = (project in file(".")).enablePlugins(VersioningPlugin)
name := "autoschema"
organization := "com.sauldhernandez"
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.12.1", "2.11.8")
semanticVersion := Version(1, 0, 4)
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation", "-encoding", "utf8")
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v")
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.6.0-M7",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"
)
useGpg := true
usePgpKeyHex("34de53dd")
buildInfoPackage := "com.sauldhernandez.autoschema"
publishMavenStyle := 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")
}
pomIncludeRepository := { _ => false }
pomExtra := <url>https://github.com/sauldhernandez/autoschema</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:sauldhernandez/autoschema.git</url>
<connection>scm:git:git@github.com:sauldhernandez/autoschema.git</connection>
</scm>
<developers>
<developer>
<id>coursera</id>
<name>Coursera</name>
</developer>
<developer>
<id>sauldhernandez</id>
<name>Saul Hernandez</name>
<url>http://github.com/sauldhernandez</url>
</developer>
</developers>