forked from gnieh/logback-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (42 loc) · 1.53 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
name := "logback-config"
organization := "org.gnieh"
version := "0.4.0"
licenses += ("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/gnieh/logback-config"))
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
libraryDependencies += "com.typesafe" % "config" % "1.3.2"
libraryDependencies += "junit" % "junit" % "4.12" % Test
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
// publish settings
publishMavenStyle := true
publishArtifact in Test := false
// do not happen the scala version
crossPaths := false
// exclude scala library, this is a pure java project
autoScalaLibrary := false
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
// The Nexus repo we're publishing to.
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging)
pomIncludeRepository := { x => false }
pomExtra :=
<scm>
<url>https://github.com/gnieh/logback-config</url>
<connection>scm:git:git://github.com/gnieh/logback-config.git</connection>
<developerConnection>scm:git:[email protected]:gnieh/logback-config.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>satabin</id>
<name>Lucas Satabin</name>
<email>[email protected]</email>
</developer>
</developers>
<issueManagement>
<system>github</system>
<url>https://github.com/gnieh/logback-config/issues</url>
</issueManagement>