-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
82 lines (70 loc) · 1.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import ReleaseTransformations._
name := "nxmlreader"
organization := "ai.lum"
// scalaVersion := "2.11.11"
scalaVersion := "2.12.4"
crossScalaVersions := Seq("2.11.11", "2.12.4")
scalacOptions ++= Seq(
"-feature",
"-unchecked",
"-deprecation",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
// "-Ywarn-value-discard",
"-Ywarn-unused",
"-encoding", "utf8"
)
libraryDependencies ++= Seq(
"ai.lum" %% "common" % "0.1.6",
"org.scala-lang.modules" %% "scala-xml" % "1.0.6"
)
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
releaseStepCommandAndRemaining("+test"),
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommandAndRemaining("sonatypeReleaseAll"),
pushChanges
)
// Publishing settings
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
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra :=
<url>https://github.com/lum-ai/nxmlreader</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<url>scm:git:github.com/lum-ai/nxmlreader</url>
<connection>scm:git:[email protected]:lum-ai/nxmlreader.git</connection>
</scm>
<developers>
<developer>
<id>marcovzla</id>
<name>Marco Antonio Valenzuela Escárcega</name>
<url>lum.ai</url>
</developer>
<developer>
<id>ghp</id>
<name>Gus Hahn-Powell</name>
<url>lum.ai</url>
</developer>
</developers>