Skip to content

Commit

Permalink
Add Scala 3 related SBT dependency to readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChidiRnweke committed Mar 24, 2024
1 parent bb80fb5 commit 89664e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -37,6 +37,14 @@ To use PureConfig in an existing SBT project with Scala 2.12 or a later version,
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.17.6"
```

For Scala 3, add the following dependency to your `build.sbt`:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-core" % "0.17.6"
```

While a lot of the documentation will also apply to Scala 3, there is a specific guide for Scala 3's derivation that you can [find here](scala-3-derivation.html).

For a full example of `build.sbt` you can have a look at this [build.sbt](https://github.com/pureconfig/pureconfig/blob/master/example/build.sbt).

Earlier versions of Scala had bugs which can cause subtle compile-time problems in PureConfig.
Expand Down

0 comments on commit 89664e9

Please sign in to comment.