Skip to content

Commit

Permalink
Document how to control Scala updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuehlke committed Dec 26, 2023
1 parent 556eb5c commit 56f4abd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Updates for `sbt` and `scalafmt` can be controlled by using the following `group
{ groupId = "org.scalameta", artifactId = "scalafmt-core" }
```

Updates for the Scala 2 or Scala 3 version can be controlled by using the respective `groupId` and `artifactId`:
```properties
{ groupId = "org.scala-lang", artifactId = "scala-library" }
{ groupId = "org.scala-lang", artifactId = "scala3-library" }
```

## Can Scala Steward update multiple branches in a repository?

Yes! You can update multiple branches of a repository by adding it several times to the "repos.md" file
Expand Down
6 changes: 6 additions & 0 deletions modules/docs/mdoc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Updates for `sbt` and `scalafmt` can be controlled by using the following `group
{ groupId = "org.scalameta", artifactId = "scalafmt-core" }
```

Updates for the Scala 2 or Scala 3 version can be controlled by using the respective `groupId` and `artifactId`:
```properties
{ groupId = "org.scala-lang", artifactId = "scala-library" }
{ groupId = "org.scala-lang", artifactId = "scala3-library" }
```

## Can Scala Steward update multiple branches in a repository?

Yes! You can update multiple branches of a repository by adding it several times to the "repos.md" file
Expand Down

0 comments on commit 56f4abd

Please sign in to comment.