-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
74 lines (72 loc) · 2.34 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
inThisBuild {
val scala3 = "3.5.1"
List(
scalaVersion := scala3,
crossScalaVersions := Seq(scala3),
scalacOptions ++= Seq(
"-encoding",
"utf8",
"-feature",
"-unchecked",
"-deprecation",
"-Wvalue-discard",
"-Wnonunit-statement",
"-Wconf:msg=(discarded.*value|pure.*statement):error",
"-Wunused:all",
"-language:implicitConversions"
),
githubWorkflowJavaVersions := List(
JavaSpec.temurin("17"),
JavaSpec.temurin("21")
),
githubWorkflowBuild := Seq(
WorkflowStep.Sbt(
name = Option("Build & Test"),
commands = List("clean", "test"),
cond = None,
env = Map.empty
)
),
githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowPublishTargetBranches := Seq(
RefPredicate.StartsWith(Ref.Tag("v")),
RefPredicate.Equals(Ref.Branch("main"))
),
githubWorkflowPublish := Seq(
WorkflowStep.Sbt(
commands = List("ci-release"),
name = Some("Publish project"),
env = Map(
"PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}",
"PGP_SECRET" -> "${{ secrets.PGP_SECRET }}",
"SONATYPE_PASSWORD" -> "${{ secrets.SONATYPE_PASSWORD }}",
"SONATYPE_USERNAME" -> "${{ secrets.SONATYPE_USERNAME }}"
)
)
),
testFrameworks ++= Seq(),
semanticdbEnabled := true,
versionScheme := Some("early-semver"),
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeProfileName := "io.kaizen-solutions",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
licenses := List("MPL-2.0" -> url("https://www.mozilla.org/en-US/MPL/2.0/")),
organization := "io.kaizen-solutions",
organizationName := "kaizen-solutions",
homepage := Some(url("https://www.kaizen-solutions.io/")),
developers := List(
Developer("calvinlfer", "Calvin Fernandes", "[email protected]", url("https://www.kaizen-solutions.io"))
),
sonatypeCredentialHost := "s01.oss.sonatype.org"
)
}
lazy val root =
project
.in(file("."))
.settings(
name := "virgil-kyo",
libraryDependencies ++= Seq(
"io.getkyo" %% "kyo-core" % "0.14.1",
"io.kaizen-solutions" %% "virgil-core" % "1.1.0"
)
)