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:

Java

<dependency>
    <groupId>com.sparkjava</groupId>
    <artifactId>spark-core</artifactId>
    <version>2.6.0</version>
</dependency>

Kotlin

<dependency>
    <groupId>com.sparkjava</groupId>
    <artifactId>spark-kotlin</artifactId>
    <version>1.0.0-alpha</version>
</dependency>

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

Other dependency managers:

Gradle : compile "com.sparkjava:spark-core:2.6.0" // 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.6.0" conf="build" /> // ivy.xml
   SBT : libraryDependencies += "com.sparkjava" % "spark-core" % "2.6.0" // 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

https://repo1.maven.org/maven2/com/sparkjava/spark-core/