diff --git a/README.md b/README.md index e4b2872..14480f3 100644 --- a/README.md +++ b/README.md @@ -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