-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (43 loc) · 1.35 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
// Project info
name := "VecMatLib"
homepage := Some(url("https://github.com/ScalaMath/VecMatLib"))
version := "3.1"
description := "A Scala library for vectors and matrix math"
// Organization info
organization := "io.github.scalamath"
organizationName := "ScalaMath"
organizationHomepage := Some(url("https://github.com/ScalaMath"))
// Project scala version
scalaVersion := "2.13.12"
// Do not append the scala version to the generated artifact
crossPaths := false
// Scala test dependency
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test
// Junit test dependency
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test
// Show deprecation warnings
scalacOptions ++= Seq("-unchecked", "-deprecation")
// Publish info
scmInfo := Some(
ScmInfo(
url("https://github.com/ScalaMath/VecMatLib"),
"scm:[email protected]:ScalaMath/VecMatLib.git"
)
)
// Developer info
developers := List(
Developer(
id = "HexagonNico",
name = "Nicholas Amigoni",
email = "[email protected]",
url = url("https://hexagonnico.github.io")
)
)
// Project license
licenses := List(
"Apache 2" -> new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")
)
// Publish to local repository
pomIncludeRepository := { _ => false }
publishTo := Some(Resolver.file("local-ivy", file(Path.userHome + "/.ivy2")))
publishMavenStyle := true