-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
61 lines (48 loc) · 1.65 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
// set the name of the project
name := "WALAFacade"
version := "0.2"
organization := "edu.illinois.wala"
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.1")
resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource
libraryDependencies ++= Seq(
"junit" % "junit" % "4.+" % "test",
"com.typesafe" % "config" % "0.5.+",
"com.ibm.wala" % "com.ibm.wala.shrike" % "1.4.1",
"com.ibm.wala" % "com.ibm.wala.util" % "1.4.1",
"com.ibm.wala" % "com.ibm.wala.core" % "1.4.1",
"com.ibm.wala" % "com.ibm.wala.cast" % "1.4.1",
"com.ibm.wala" % "com.ibm.wala.cast.java" % "1.4.1"
)
EclipseKeys.withSource := true
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 }
pomExtra := (
<url>https://github.com/cos/WALAFacade</url>
<licenses>
<license>
<name>Eclipse Public License - v 1.0</name>
<url>https://www.eclipse.org/legal/epl-v10.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/cos/WALAFacade.git</url>
<connection>scm:git:git://github.com/cos/WALAFacade.git</connection>
</scm>
<developers>
<developer>
<id>cos</id>
<name>Cosmin Radoi</name>
<url>http://cosmin.radoi.net</url>
</developer>
</developers>)