-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (28 loc) · 1.13 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
import Dependencies._
lazy val scala213 = "2.13.8"
//lazy val scala212 = "2.12.16"
ThisBuild / scalaVersion := scala213
ThisBuild / version := "0.5.0"
ThisBuild / organization := "fr.dcram"
ThisBuild / organizationName := "dcram"
lazy val supportedScalaVersions = List(scala213)
ThisBuild / crossScalaVersions := supportedScalaVersions
lazy val root = (project in file("."))
.settings(
name := "nlp4s",
libraryDependencies += slf4j,
libraryDependencies += collectionCompat,
publishTo := {
val nexus = "https://nexus.secure.sparklane/"
if (isSnapshot.value)
Some("snapshots" at nexus + "repository/snapshots/")
else
Some("releases" at nexus + "repository/releases/")
},
credentials += Credentials(Path.userHome / ".sbt" / ".credentials"),
libraryDependencies += scalaTest % Test,
libraryDependencies += scalaLogging % Test,
libraryDependencies += logback % Test,
// libraryDependencies += "org.typelevel" %% "cats-core" % "2.1.1" % Test
)
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for instructions on how to publish to Sonatype.