This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
60 lines (48 loc) · 1.6 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
organization := "com.github.vital-software"
name := "sumo-logback"
version := "0.2-SNAPSHOT"
scalaVersion := "2.11.8"
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"),
"Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"
)
libraryDependencies ++= Seq(
"com.sumologic.plugins.log4j" % "sumologic-log4j2-appender" % "1.0",
"org.apache.logging.log4j" % "log4j-api" % "2.8.2",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"ch.qos.logback" % "logback-core" % "1.2.3",
"org.specs2" %% "specs2" % "2.3.13" % Test
)
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
sonatypeProfileName := "com.github.vital-software"
pomExtra := (
<url>https://github.com/vital-software/sumo-logback</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:vital-software/sumo-logback.git</url>
<connection>scm:git:[email protected]:vital-software/sumo-logback.git</connection>
</scm>
<developers>
<developer>
<id>apatzer</id>
<name>Aaron Patzer</name>
<url>https://github.com/apatzer</url>
</developer>
</developers>)