Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marc0der/play-scala-gradle-template
- Owner: marc0der
- License: other
- Created: 2016-09-30T09:38:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-10T15:25:14.000Z (about 8 years ago)
- Last Synced: 2024-10-15T15:31:25.543Z (3 months ago)
- Language: Scala
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.