-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
55 lines (52 loc) · 1.82 KB
/
build.sbt
File metadata and controls
55 lines (52 loc) · 1.82 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
import sbt.Credentials
import sbt.Keys.{credentials, publishTo}
lazy val SCALA_2 = "2.13.7"
lazy val thoughtseize: Project = project
.enablePlugins(PackPlugin, BuildInfoPlugin)
.in(file("."))
.settings(
name := "Thoughtseize",
organizationName := "Milosz Jakubanis",
version := "0.0.2-SNAPSHOT",
scalaVersion := SCALA_2,
organization := "com.miloszjakubanis",
libraryDependencies ++= Seq(
//Logback
//Logback
"ch.qos.logback" % "logback-classic" % "1.2.6",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.4",
//Config
"com.typesafe" % "config" % "1.4.1",
"com.lihaoyi" %% "utest" % "0.7.10" % Test,
//Circe for JSon Parsing
"io.circe" %% "circe-core" % "0.14.1",
"io.circe" %% "circe-generic" % "0.14.1",
"io.circe" %% "circe-parser" % "0.14.1",
//New Json Parsing, from Play Framework
"com.typesafe.play" %% "play-json" % "2.9.2"
),
testFrameworks += new TestFramework("utest.runner.Framework"),
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-unchecked",
"-language:implicitConversions"
),
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
resolvers := Seq(
"releases" at s"https://artifact.miloszjakubanis.com/repository/earth/",
"snapshots" at s"https://artifact.miloszjakubanis.com/repository/moon/"
),
//Credentials
versionScheme := Some("early-semver"),
publishMavenStyle := true,
credentials += Credentials(
new File(Path.userHome.absolutePath + "/.nexus/credentials")
),
publishTo := Some("Sonatype Nexus Repository Manager" at {
if (isSnapshot.value)
s"https://artifact.miloszjakubanis.com/repository/moon"
else
s"https://artifact.miloszjakubanis.com/repository/earth"
})
)