diff --git a/.scala-steward.conf b/.scala-steward.conf index c7d2bf3..01e2e8f 100644 --- a/.scala-steward.conf +++ b/.scala-steward.conf @@ -1,7 +1,6 @@ updates.fileExtensions = [ "build.sbt", - "src/main/g8/build.sbt", - "mill/build.sc", + "src/main/g8/$if(mill.truthy)$.$endif$/build.sc", + "src/main/g8/$if(sbt.truthy)$.$endif$/build.sbt", "src/main/g8/smithy-build.json", - "mill/smithy-build.json" ] diff --git a/build.sbt b/build.sbt index ef1a550..a58e9a5 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,6 @@ lazy val root = (project in file(".")) .enablePlugins(ScriptedPlugin) + .settings(phantomDeps) .settings( name := "smithy4s.g8", Test / test := { @@ -13,3 +14,11 @@ lazy val root = (project in file(".")) "-Dfile.encoding=UTF-8" ) ) + +// https://github.com/scala-steward-org/scala-steward/issues/1286#issuecomment-582083463 +// ensuring deps are updated inside of templates files +lazy val phantomDeps = Def.settings( + libraryDependencies ++= Seq( + "org.http4s" %% "http4s-ember-server" % "0.23.16" + ) +)