-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
46 lines (33 loc) · 1.75 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
organization := "com.github.mrpowers"
// required settings for sbt-microsites
name := "spark-stringmetric"
description := "Popular phonetic and string matching algorithms implemented in Spark"
organizationName := "MrPowers"
organizationHomepage := Some(url("https://github.com/MrPowers"))
version := "0.5.0"
crossScalaVersions := Seq("2.12.15", "2.13.8")
scalaVersion := "2.12.15"
//scalaVersion := "2.13.8"
val sparkVersion = "3.2.1"
libraryDependencies += "org.apache.commons" % "commons-text" % "1.1" % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion % "provided"
libraryDependencies += "com.github.mrpowers" %% "spark-fast-tests" % "1.2.0" % "test"
libraryDependencies += "com.github.mrpowers" %% "spark-daria" % "1.2.3" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0" % "test"
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
fork in Test := true
javaOptions ++= Seq("-Xms512M", "-Xmx2048M", "-XX:+CMSClassUnloadingEnabled", "-Duser.timezone=GMT")
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/MrPowers/spark-stringmetric"))
developers ++= List(
Developer("MrPowers", "Matthew Powers", "@MrPowers", url("https://github.com/MrPowers"))
)
scmInfo := Some(ScmInfo(url("https://github.com/MrPowers/spark-stringmetric"), "[email protected]:MrPowers/spark-stringmetric.git"))
updateOptions := updateOptions.value.withLatestSnapshots(false)
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
Global/useGpgPinentry := true
// sbt-ghpages plugin: https://github.com/sbt/sbt-ghpages
enablePlugins(SiteScaladocPlugin)
enablePlugins(GhpagesPlugin)
git.remoteRepo := "[email protected]:MrPowers/spark-stringmetric.git"