Skip to content

Instantly share code, notes, and snippets.

@maji-KY
Last active August 29, 2015 14:15
Show Gist options
  • Save maji-KY/a1ac59197c2850318b5e to your computer and use it in GitHub Desktop.
Save maji-KY/a1ac59197c2850318b5e to your computer and use it in GitHub Desktop.
processing with sbt
organization := "com.neco-labo"
name := "processing with sbt"
version := "0.1"
scalaVersion := "2.11.5"
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked")
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.1.2",
"ch.qos.logback" % "logback-core" % "1.1.2",
"org.slf4s" %% "slf4s-api" % "1.7.7",
"org.specs2" %% "specs2" % "2.4.1" % "test"
)
/* include Processing */
val architecture = "windows-amd64"// macosx, windows-i586, windows-amd64, linux-i586, linux-amd64
unmanagedJars := Attributed.blankSeq(Seq(
baseDirectory.value / "processing" / "core.jar",
baseDirectory.value / "processing" / "gluegen-rt.jar",
baseDirectory.value / "processing" / s"gluegen-rt-natives-$architecture.jar",
baseDirectory.value / "processing" / "jogl-all.jar",
baseDirectory.value / "processing" / s"jogl-all-natives-$architecture.jar"
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment