-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.sbt
57 lines (43 loc) · 1.43 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
name := "sbt-javacpp"
version := "1.18-SNAPSHOT"
organization := "org.bytedeco"
sbtPlugin := true
publishMavenStyle := true
scalaVersion in Global := "2.12.11"
sbtVersion in Global := "1.3.10"
crossSbtVersions := Vector("0.13.18", "1.3.10")
scalaCompilerBridgeSource := {
val sv = appConfiguration.value.provider.id.version
("org.scala-sbt" % "compiler-interface" % sv % "component").sources
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
libraryDependencies += "org.bytedeco" % "javacpp" % "1.5.4"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint", "-Xlog-free-terms")
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra :=
<url>https://github.com/bytedeco/sbt-javacpp</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:bytedeco/sbt-javacpp.git</url>
<connection>scm:git:git@github.com:bytedeco/sbt-javacpp.git</connection>
</scm>
<developers>
<developer>
<id>lloydmeta</id>
<name>Lloyd Chan</name>
<url>https://beachape.com</url>
</developer>
</developers>