Skip to content

Commit 53e7a96

Browse files
committed
chore: fmt
1 parent 158f378 commit 53e7a96

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919
distribution: 'temurin'
2020
java-version: '21'
2121
- uses: coursier/cache-action@v6
22-
- name: Check formatting
23-
run: ./sbt scalafmtCheckAll scalafmtSbtCheck
2422
- name: Compile
2523
run: ./sbt +compile
2624
- name: Test

build.sbt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import org.typelevel.scalacoptions._
1+
import org.typelevel.scalacoptions.*
2+
import sbt.Keys.versionScheme
3+
import xerial.sbt.Sonatype.sonatypeCentralHost
24

35
val root = (project in file("."))
46
.settings(commonSettings)
@@ -28,10 +30,11 @@ lazy val commonSettings = List(
2830
ScmInfo(
2931
url("https://github.com/Chili-Piper/scala-quartz"),
3032
"scm:git:https://github.com/Chili-Piper/scala-quartz.git",
31-
Some("scm:git:git@github.com:Chili-Piper/scala-quartz.git")
32-
)
33+
Some("scm:git:git@github.com:Chili-Piper/scala-quartz.git"),
34+
),
3335
),
34-
sonatypeCredentialHost := "s01.oss.sonatype.org",
36+
sonatypeCredentialHost := sonatypeCentralHost,
37+
sonatypeProfileName := "com.chilipiper",
3538
versionScheme := Some("early-semver"),
3639
scalaVersion := "2.13.16",
3740
crossScalaVersions := List(scalaVersion.value, "3.3.6"),
@@ -48,9 +51,6 @@ lazy val commonSettings = List(
4851
buildInfoKeys := List[BuildInfoKey](organization, moduleName, version),
4952
buildInfoOptions += BuildInfoOption.ToJson,
5053
buildInfoPackage := s"${organization.value}.${moduleName.value}".replace("-", "."),
51-
Compile / packageBin / packageOptions += Package.ManifestAttributes(
52-
"Automatic-Module-Name" -> s"${organization.value}.${moduleName.value}".replace("-", "."),
53-
),
5454
scalacOptions ++= {
5555
CrossVersion.partialVersion(scalaVersion.value) match {
5656
case Some((2, _)) =>

0 commit comments

Comments
 (0)