forked from Edefritz/scala-tile38
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
52 lines (45 loc) · 1.53 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
import Dependencies._
import xerial.sbt.Sonatype.autoImport.sonatypeRepository
ThisBuild / scalaVersion := "2.13.4"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "io.github"
ThisBuild / organizationName := "edefritz"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
Test / parallelExecution := false
// library name
ThisBuild / name := "scala-tile38"
// library version
ThisBuild / version := "0.1"
// groupId, SCM, license information
ThisBuild / organization := "io.github.edefritz"
ThisBuild / homepage := Some(url("https://github.com/Edefritz/scala-tile38"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/Edefritz/scala-tile38"),
"[email protected]:edefritz/scala-tile38.git"
)
)
ThisBuild / developers := List(
Developer(
"eduard",
"eduard",
url("https://gitlab.com/edefritz")
)
)
ThisBuild / licenses += ("MIT", url("https://opensource.org/licenses/MIT"))
ThisBuild / publishMavenStyle := true
// disable publishw ith scala version, otherwise artifact name will include scala version
ThisBuild / crossPaths := false
ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
lazy val root = (project in file("."))
.settings(
name := "scala-tile38",
libraryDependencies ++= projectDeps
)