Downloads

Implicit

The easiest way to use SparkGS is to not explicitly download it at all. Simply create a file named spark.gsp with the following contents:


    classpath "org.gosu-lang.gosu:sparkgs:0.1-alpha2"

    extends sparkgs.SparkGSFile

    get('/', \-> "Hello World")

And you should be good to go. Gosu will automatically download the library and set up the parent class for the current program when you run $ gosu spark.gsp

POM File Configuration

If you are using Maven or any other POM-aware tool, or if you are deploying to Heroku, you will want to use the following dependency in your POM:


    <dependency>
      <groupId>org.gosu-lang.gosu</groupId>
      <artifactId>sparkgs</artifactId>
      <version>0.1-alpha2</version>
    </dependency>


Additional documentation on how to deploy on Heroku is available here.

Source Code

The source for SparkGS is available on Github.