Skip to content

Commit

Permalink
Specify sonatype central host
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-vovk committed Jul 16, 2024
1 parent 946c977 commit 56d6e30
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:

- name: Run tests
run: sbt test
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PUBLISH }}

- run: sbt ci-release
env:
Expand Down
37 changes: 17 additions & 20 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
scalaVersion := "3.3.3"
scalacOptions ++= Seq("-unchecked", "-feature", "-deprecation", "-Xfatal-warnings", "-Wunused:imports")
import xerial.sbt.Sonatype.sonatypeCentralHost

ThisBuild / scalaVersion := "3.3.3"
ThisBuild / scalacOptions ++= Seq("-unchecked", "-feature", "-deprecation", "-Xfatal-warnings", "-Wunused:imports")

organization := "io.github.igor-vovk"
name := "cats-effect-simple-di"
versionScheme := Some("early-semver")

homepage := Some(url("https://github.com/igor-vovk/cats-effect-simple-di"))
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
developers := List(
ThisBuild / organization := "io.github.igor-vovk"
ThisBuild / versionScheme := Some("early-semver")

ThisBuild / homepage := Some(url("https://github.com/igor-vovk/cats-effect-simple-di"))
ThisBuild / licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / developers := List(
Developer(
"igor-vovk",
"Ihor Vovk",
"[email protected]",
url("https://ivovk.me")
)
)
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost

lazy val Versions = new {
val catsEffect = "3.5.4"
val scalatest = "3.2.18"
}

lazy val root = (project in file("."))
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % Versions.catsEffect % "provided",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "3.5.4" % "provided",

"org.typelevel" %% "log4cats-slf4j" % "2.7.0" % "provided",
"ch.qos.logback" % "logback-classic" % "1.5.6" % "provided",
"org.typelevel" %% "log4cats-slf4j" % "2.7.0" % "provided",
"ch.qos.logback" % "logback-classic" % "1.5.6" % "provided",

"org.scalatest" %% "scalatest" % Versions.scalatest % Test,
)
)
"org.scalatest" %% "scalatest" % "3.2.18" % Test,
)

0 comments on commit 56d6e30

Please sign in to comment.