-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
61 lines (35 loc) · 1.45 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
58
59
60
61
lazy val scalaTime = (project in file("."))
.enablePlugins(SbtCodesOsgi)
site.settings
ghpages.settings
version := "0.5.0-SNAPSHOT"
organization := "codes.reactive"
description := "Basic Scala wrapper for convenient use of JDK 1.8.0 time libraries."
startYear := Some(2014)
homepage := Some(url("https://oss.reactive.codes/scala-time"))
apiURL := Some(url(s"http://oss.reactive.codes/scala-time/${version.value}"))
apacheLicensed
publishOSS
scalaVersion := crossScalaVersions.value.head
crossScalaVersions := Seq("2.13.0", "2.12.8", "2.11.12", "2.10.7")
libraryDependencies ++= Seq("org.scalatest" %% "scalatest" % "3.0.+" % Test)
codesCompileOpts
codesDocOpts
codesUnidocOpts
scalacOptions in(Compile, compile) += "-language:postfixOps"
OsgiKeys.bundleSymbolicName := "codes.reactive.scalatime"
OsgiKeys.privatePackage := Seq("codes.reactive.scalatime*")
OsgiKeys.exportPackage := Seq("codes.reactive.scalatime*")
scalastyleConfig <<= baseDirectory(_ / ".idea/scalastyle_config.xml")
SiteKeys.siteMappings := {
val dir = baseDirectory.value / "project/site"
Seq(
(dir / "site.html") → "index.html",
(dir / "site.css") → "site.css",
(dir / "site.js") → "site.js")
}
SiteKeys.siteMappings <++= (mappings in(ScalaUnidoc, packageDoc), version) map { (m, v) =>
for ((f, d) <- m) yield (f, s"$v/$d")
}
git.remoteRepo := codesGithubRepo.value.developerConnection.drop(8)
addDevelopers(("arashi01", "Ali Salim Rashid", "[email protected]"))