-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
34 lines (28 loc) · 1.06 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
ThisBuild / tlBaseVersion := "0.0"
ThisBuild / organization := "com.armanbilge"
ThisBuild / organizationName := "Arman Bilge"
ThisBuild / developers += tlGitHubDev("armanbilge", "Arman Bilge")
ThisBuild / startYear := Some(2024)
ThisBuild / tlSonatypeUseLegacyHost := false
ThisBuild / tlJdkRelease := Some(22)
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("22"))
ThisBuild / githubWorkflowBuild ~= { steps =>
steps.flatMap {
case step: WorkflowStep.Sbt if step.commands == List("test") =>
List(WorkflowStep.Sbt(List("Test/compile"), name = Some("Compile")))
case step => List(step)
}
}
ThisBuild / tlCiJavafmtCheck := true
ThisBuild / githubWorkflowPublishPreamble +=
WorkflowStep.Use(
UseRef.Public("typelevel", "await-cirrus", "main"),
name = Some("Wait for Cirrus CI")
)
name := "cheshire"
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test
// Java library
crossPaths := false
autoScalaLibrary := false
Compile / compileOrder := CompileOrder.JavaThenScala
Compile / doc / javacOptions -= "-Xlint:all"