From c81b185d4c5cd4bb9e9471a6eb9346772fb1bb55 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Fri, 13 Dec 2024 01:29:05 -0500 Subject: [PATCH] Add slf4j-simple 1.7 --- .scala-steward.conf | 5 ++++- build.sbt | 10 +++++++--- project/Dependencies.scala | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.scala-steward.conf b/.scala-steward.conf index a13fbc8b..d8b601da 100644 --- a/.scala-steward.conf +++ b/.scala-steward.conf @@ -1,3 +1,5 @@ +pullRequests.frequency = "14 days" + updates.limit = 3 updates.pin = [ @@ -5,7 +7,8 @@ updates.pin = [ // jgit 6.x require JDK 11 groupId = "org.eclipse.jgit" version = "5." - } + }, + { groupId = "org.slf4j", artifactId = "slf4j-simple", version = "1." } ] updates.ignore = [ diff --git a/build.sbt b/build.sbt index aa101595..c50de740 100644 --- a/build.sbt +++ b/build.sbt @@ -71,7 +71,10 @@ lazy val app = (project in file("app")) csRun / sourceDirectory := { (baseDirectory).value.getParentFile / "src" / "main" / "conscript" }, - libraryDependencies += launcherIntf + libraryDependencies ++= List( + launcherIntf, + slf4jsimple + ) ) lazy val crossSbt = Seq( @@ -157,14 +160,14 @@ lazy val lib = (project in file("library")) libraryDependencies ++= Seq( stringTemplate, jgit, + slf4jsimple, commonsIo, plexusArchiver, scalaXml, parserCombinator(scalaVersion.value), scalacheck % Test, sbtIo % Test, - scalamock % Test, - "org.slf4j" % "slf4j-simple" % "1.7.36" % Test + scalamock % Test ), Test / testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-minSuccessfulTests", "1000", "-workers", "10") ) @@ -179,6 +182,7 @@ lazy val launcher = (project in file("launcher")) crossScalaVersions := List(scala212, scala213, scala3), libraryDependencies ++= Seq( coursier, + slf4jsimple, verify % Test, sbtIo % Test ), diff --git a/project/Dependencies.scala b/project/Dependencies.scala index e16a7279..c7bff5a5 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -39,6 +39,7 @@ object Dependencies { case _ => "2.2.0" } } + val slf4jsimple = "org.slf4j" % "slf4j-simple" % "1.7.36" val logback = "ch.qos.logback" % "logback-classic" % "1.2.3" val coursier = "io.get-coursier" %% "coursier" % "2.1.13" val launcherIntf = "org.scala-sbt" % "launcher-interface" % "1.4.4"