-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
55 lines (46 loc) · 1.33 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 := "reposcript"
version := "0.1-SNAPSHOT"
organization := "com.repocad"
scalaVersion := "2.11.8"
homepage := Some(url("http://repocad.com"))
scalacOptions in Compile ++= Seq(
"-feature",
"-Xlint",
"-deprecation"
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % Test,
"org.scalacheck" %%% "scalacheck" % "1.13.4" % "test",
"org.scala-js" %% "scalajs-stubs" % scalaJSVersion % "provided"
)
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>http://repocad.com</url>
<licenses>
<license>
<name>GPLv3</name>
<url>http://www.opensource.org/licenses/GPL-3.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:repocad/reposcript.git</url>
<connection>scm:git:[email protected]:repocad/reposcript.git</connection>
</scm>
<developers>
<developer>
<id>jegp</id>
<name>Jens Egholm Pedersen</name>
<url>http://github.com/Jegp</url>
</developer>
</developers>)
enablePlugins(ScalaJSPlugin)