Skip to content
Example project showing Hello World in Scalatra using Gradle
Scala
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
README.md
build.gradle

README.md

Hello World example in Scalatra building with Gradle

Of note is that we're using the gretty plugin to run our webapp, since the default jetty plugin uses a too old version of the servlet API.

In addition the most basic of dependencies are included, but if you wanted support for more features (say templating), then you'd have to import these in the dependencies section as normal.

Running the webapp

  1. Clone the project
  2. gradle appRun
  3. Go to http://localhost:8080
You can’t perform that action at this time.