-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
59 lines (44 loc) · 1.41 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
import sbt.Keys.scalaVersion
name := "vrepapiscala"
version := "0.3.6"
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.12.1", "2.11.8", "2.10.6")
organization := "com.github.troxid"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-library" % scalaVersion.value ,
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
)
unmanagedBase := baseDirectory.value / "lib"
unmanagedResourceDirectories in Compile += baseDirectory.value / "native_lib"
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")
}
pomExtra := (
<url>https://github.com/Troxid/vrep-api-scala</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:troxid/vrep-api-scala.git</url>
<connection>scm:git:git@github.com:troxid/vrep-api-scala.git</connection>
</scm>
<developers>
<developer>
<id>troxid</id>
<name>trox</name>
<url>https://github.com/troxid</url>
</developer>
</developers>
)