Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: 2.1.x
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (29 sloc) 1.337 kb

Scalatra Build Status

Scalatra is a tiny, Sinatra-like web framework for Scala.

Example

import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>
  }
}

Documentation

Please see The Scalatra Book for more.

Latest version

The latest version of Scalatra is 2.0.4, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.0.4"

Development version

The develop branch is published as 2.1.0-SNAPSHOT to OSSRH. A milestone build is available as 2.1.0.

Starting with 2.1.x, Scalatra is no longer crossbuilt. This means no %% operator in the library dependency.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.scalatra" % "scalatra" % "2.2.0-SNAPSHOT"

Community

Jump to Line
Something went wrong with that request. Please try again.