-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
53 lines (45 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
// Project info
name := "ColorLib"
homepage := Some(url("https://github.com/ScalaMath/ColorLib"))
version := "1.1"
description := "A Scala library for color 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
// VecMatLib dependency
libraryDependencies += "io.github.scalamath" % "vecmatlib" % "3.0"
// 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/ColorLib"),
"scm:[email protected]:ScalaMath/ColorLib.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