Fork me on GitHub

Download Spark Framework

Spark Framework is available both on Maven Central and GitHub (java), (kotlin)

Maven Users

Add the following snippet to your POM:





Not familiar with Maven? Click here for more detailed instructions.

Other dependency managers:

Gradle : compile "com.sparkjava:spark-core:2.7.2" // add to build.gradle (for Java users)
Gradle : compile "com.sparkjava:spark-kotlin:1.0.0-alpha" // add to build.gradle (for Kotlin users)
   Ivy : <dependency org="com.sparkjava" name="spark-core" rev="2.7.2" conf="build" /> // ivy.xml
   SBT : libraryDependencies += "com.sparkjava" % "spark-core" % "2.7.2" // build.sbt

Non-maven Users

Build it yourself

Clone the repo from GitHub.
If you really want to, you can also download Spark Framework as a ZIP (from GitHub)

Dowload the jar