-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
executable file
·88 lines (70 loc) · 2.06 KB
/
build.sbt
File metadata and controls
executable file
·88 lines (70 loc) · 2.06 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name := "nutcracker"
organization := "com.github.tomasmikula"
lazy val scala3 = "3.1.1"
scalaVersion := scala3
crossScalaVersions := Seq(scala3)
autoCompilerPlugins := true
scalacOptions ++=
Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Ykind-projector",
)
testFrameworks += new TestFramework("scalaprops.ScalapropsFramework")
Test / parallelExecution := false // currently, ScalaProps does not support parallel execution
lazy val ScalazVersion = "7.4.0-M9"
libraryDependencies ++= Seq(
"org.typelevel" %% "algebra" % "2.2.3",
"org.scalaz" %% "scalaz-core" % ScalazVersion,
"com.github.scalaprops" %% "scalaprops" % "0.8.3",
"org.scalatest" %% "scalatest" % "3.2.10" % "test",
"org.scalatestplus" %% "scalacheck-1-15" % "3.2.10.0" % "test",
"org.scalaz" %% "scalaz-scalacheck-binding" % ScalazVersion % "test",
)
fork := true
/******************
*** Publishing ***
******************/
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<url>https://github.com/TomasMikula/nutcracker</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:TomasMikula/nutcracker.git</url>
<connection>scm:git:git@github.com:TomasMikula/nutcracker.git</connection>
</scm>
<developers>
<developer>
<id>TomasMikula</id>
<name>Tomas Mikula</name>
</developer>
</developers>)
import ReleaseTransformations._
releaseCrossBuild := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommandAndRemaining("sonatypeReleaseAll"),
setNextVersion,
commitNextVersion,
//pushChanges,
)