Gradle support

To enable the Play support in a Gradle project you need to set the option generatePlay to true. This will make sure play-specific code is generated in addition to plain Akka gRPC code:

akkaGrpc {
  language = "Java"
  generateClient = true
  generateServer = true
  generatePlay = true
}

For a full example project see the Quickstart project. Quickstart project.

See the gradle support docs for details about the other options.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.