marc0der / play-scala-gradle-template

Example Play Java Application Using Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Play Scala Application Using Gradle

This is the Scala flavour of the existing Java template by @simonharrer.

Starting with Gradle 3.1, Play 2.5.x is (partially) supported. But there are no examples how to use Play 2.5.x with Gradle 3.1. This project closes the gap by providing such an example.

You can simply run it by executing ./gradlew -t runPlayBinary on the command line.

Production Deployment

Build a production deployable with ./gradlew stage. Don't forget to change play.crypto.secret in the conf/application.conf before building the deployable.

Changes from default activator Application

  • Removal of all artifacts of activator and SBT
  • Remove the ApplicationTimer as it caused an exception because the ApplicationLifecycle could not be injected.

About

Example Play Java Application Using Gradle

License:Other


Languages

Language:Scala 84.3%Language:HTML 14.8%Language:JavaScript 0.9%