Skip to content

Commit

Permalink
Fix README (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored Aug 12, 2024
1 parent 4749550 commit 63abb39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ assert(javaDep.toString == "io.get-coursier:coursier_2.13:2.0.6")
#### Converting to pure Java dependency with a platform

```scala mdoc
val params = ScalaParameters("2.13.6").copy(platform = Some("myplatform2"))
val javaDep: Dependency = dep"io.get-coursier::coursier::2.0.6".applyParams(params)
val platformParams = ScalaParameters("2.13.6").copy(platform = Some("myplatform2"))
val otherJavaDep: Dependency = dep"io.get-coursier::coursier::2.0.6".applyParams(platformParams)

assert(javaDep.toString == "io.get-coursier:coursier_myplatform2_2.13:2.0.6")
assert(otherJavaDep.toString == "io.get-coursier:coursier_myplatform2_2.13:2.0.6")
```

#### String interpolator
Expand Down

0 comments on commit 63abb39

Please sign in to comment.