-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
43 lines (31 loc) · 1.13 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
name := "jarlister"
organization := "com.github.rjolly"
description := "A tool that lists a jar's classes into its manifest"
licenses := Seq( "GPL" -> url( "http://www.gnu.org/licenses/gpl.txt" ))
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")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
pomExtra :=
<url>http://github.com/rjolly/jarlister</url>
<scm>
<url>[email protected]:rjolly/jarlister.git</url>
<connection>scm:git:[email protected]:rjolly/jarlister.git</connection>
</scm>
<developers>
<developer>
<id>rjolly</id>
<name>Raphael Jolly</name>
<url>http://github.com/rjolly</url>
</developer>
</developers>
version := "1.1"
scalaVersion := "2.11.6"
scalacOptions ++= Seq("-language:implicitConversions")
libraryDependencies += "org.apache.ant" % "ant" % "1.9.4"
mainClass in (Compile, packageBin) := Some("scala.tools.nsc.JarLister")
mainClass in (Compile, run) := Some("scala.tools.nsc.JarLister")