Skip to content

Commit 31dd3dc

Browse files
committed
Fix warnings about unused moduleRootPkg key
This fixes these warnings: ``` [warn] there are 4 keys that are not used by any other settings/tasks: [warn] [warn] * benchmark / moduleRootPkg [warn] +- /home/runner/work/scala-steward/scala-steward/build.sbt:202 [warn] * mill-plugin / moduleRootPkg [warn] +- /home/runner/work/scala-steward/scala-steward/build.sbt:202 [warn] * root / moduleRootPkg [warn] +- /home/runner/work/scala-steward/scala-steward/build.sbt:305 [warn] * sbt-plugin / moduleRootPkg [warn] +- /home/runner/work/scala-steward/scala-steward/build.sbt:202 [warn] [warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check [warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key ```
1 parent 8e59be5 commit 31dd3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ installPlugin := {
301301
IO.copyFile(source, target)
302302
}
303303

304-
lazy val moduleRootPkg = settingKey[String]("")
304+
lazy val moduleRootPkg = settingKey[String]("").withRank(KeyRanks.Invisible)
305305
moduleRootPkg := rootPkg
306306

307307
// Run Scala Steward from sbt for development and testing.

0 commit comments

Comments
 (0)