Skip to content

Instantly share code, notes, and snippets.

@mariusk
Created July 15, 2013 21:40
Show Gist options
  • Save mariusk/6003756 to your computer and use it in GitHub Desktop.
Save mariusk/6003756 to your computer and use it in GitHub Desktop.
task compile() {
source = fileTree(dir: 'src/main/kawa').include('**/*.scm')
doLast {
javaexec {
main = "kawa.repl"
classpath = files(["/usr/local/share/java/kawa.jar", "/opt/android-studio/sdk/platforms/android-15/android.jar", "build/classes/debug"])
args "-d", "build/classes/debug", "--warn-undefined-variable", "--module-static-run", "--warn-invoke-unknown-method", "--warn-as-error", "-C"
args source
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment