Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marc0der/play-scala-gradle-template

Example Play Java Application Using Gradle
https://github.com/marc0der/play-scala-gradle-template

Last synced: about 1 month ago
JSON representation

Example Play Java Application Using Gradle

Awesome Lists containing this project

README

        

# Example Play Scala Application Using Gradle

This is the Scala flavour of the existing [Java template](https://github.com/simonharrer/play-java-gradle-example) 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.