-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
47 lines (44 loc) · 1.46 KB
/
build.sbt
File metadata and controls
47 lines (44 loc) · 1.46 KB
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
lazy val scalacheck = "org.scalacheck" %% "scalacheck" % "1.12.4"
lazy val setTheory = "com.jtfmumm" %% "set-theory" % "0.1.4"
lazy val commonSettings = Seq(
organization := "com.jtfmumm",
version := "0.1.0"
// scalaVersion := "2.11.4"
)
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(
name := "Algebraic Structures",
libraryDependencies += scalacheck,
libraryDependencies += setTheory,
mainClass := Some("algrun.AlgRun"),
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,
pomExtra := (
<url>http://github.com/jtfmumm/algebraic-structures</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:jtfmumm/algebraic-structures.git</url>
<connection>scm:git:git@github.com:jtfmumm/algebraic-structures.git</connection>
</scm>
<developers>
<developer>
<id>jtfmumm</id>
<name>John Mumm</name>
<url>http://jtfmumm.com</url>
</developer>
</developers>)
)