Skip to content

Commit

Permalink
version 0.3.2-1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mliarakos committed May 30, 2020
1 parent a44441a commit c8c949f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -16,7 +16,7 @@ Lagom.js is built against specific versions of Lagom:
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.2.1-1.6.0 | 1.6.0 | 2.12 | 0.6.31+ |
| 0.3.1-1.6.1 | 1.6.1 | 2.12 <br> 2.13 | 0.6.32+ |
| 0.3.1-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33+ |
| 0.3.2-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33+ |

Lagom.js does not support the Lagom Java API. It only supports the Lagom Scala API because Scala.js only supports Scala.

Expand All @@ -29,7 +29,7 @@ Lagom.js provides JavaScript versions of several Lagom artifacts. The two most i
The `lagomjs-scaladsl-api` artifact provides the JavaScript implementation of the Lagom service API:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.1-1.6.2"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.2-1.6.2"
```

To use it you'll need to configure your service API as a [Scala.js cross project](https://github.com/portable-scala/sbt-crossproject) for the JVM and JS platforms. Then, add the `lagomjs-scaladsl-api` dependency to the JS platform:
Expand All @@ -41,7 +41,7 @@ lazy val `service-api` = crossProject(JVMPlatform, JSPlatform)
libraryDependencies += lagomScaladslApi
)
.jsSettings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.1-1.6.2"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.2-1.6.2"
)
```

Expand All @@ -52,15 +52,15 @@ This enables your Lagom service definition to be compiled into JavaScript. In ad
The `lagomjs-scaladsl-client` artifact provides the JavaScript implementation of the Lagom service client:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.1-1.6.2"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.2-1.6.2"
```

You can use it in a Scala.js project along with your service API to generate a service client:

```scala
lazy val `client-js` = project
.settings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.1-1.6.2"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.2-1.6.2"
)
.enablePlugins(ScalaJSPlugin)
.dependsOn(`service-api`.js)
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -50,7 +50,7 @@ lazy val publishSettings = Seq(

lazy val commonSettings = scalaSettings ++ publishSettings ++ Seq(
organization := "com.github.mliarakos.lagomjs",
version := s"0.3.2-$baseLagomVersion-SNAPSHOT"
version := s"0.3.2-$baseLagomVersion"
)

lazy val commonJsSettings = Seq(
Expand Down

0 comments on commit c8c949f

Please sign in to comment.