generated from kelvindev15/scala-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (42 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
import Dependecies.*
ThisBuild / scalaVersion := "3.6.3"
ThisBuild / organization := "io.github.kelvindev15"
ThisBuild / description := "A DSL written in scala to write Prolog programs"
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
scalafmtDetailedError := true
/*
* Wartremover
*/
addCompilerPlugin(
"org.wartremover" %% "wartremover" % "3.2.5" cross CrossVersion.full
)
// see: https://www.wartremover.org/doc/warts.html
scalacOptions ++= Seq("Null").map(wart =>
s"-P:wartremover:traverser:org.wartremover.warts.$wart"
)
Compile / doc / target := baseDirectory.value / "api"
assembly / assemblyMergeStrategy := {
case PathList("META-INF", _*) => MergeStrategy.discard
case _ => MergeStrategy.first
}
lazy val PaSDSL = (project in file("."))
.settings(
name := "Prolog-as-ScalaDSL",
scalaVersion := "3.6.3",
libraryDependencies ++= scalaTestBundle,
libraryDependencies ++= cucumberBundle,
libraryDependencies += scalaTestJUnit5,
libraryDependencies += tuProlog,
Compile / mainClass := Some("io.github.kelvindev15.prolog.Application"),
homepage := Some(url("https://github.com/kelvindev15/PPS-22-Prolog-as-scalaDSL")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"kelvin-olaiya",
"Kelvin Olaiya",
url("https://kelvin-olaiya.github.io")
)
)
)