Skip to content

Instantly share code, notes, and snippets.

@tnoda
Created February 2, 2013 07:42
Show Gist options
  • Save tnoda/4696482 to your computer and use it in GitHub Desktop.
Save tnoda/4696482 to your computer and use it in GitHub Desktop.
MIxed-source Leiningen project example.
(ns foo
(:import HelloWorld))
(defn foo
[]
(HelloWorld/helloWorld))
public class HelloWorld {
public static void helloWorld() {
System.out.println("Hello, world!");
}
}
(defproject foo "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]]
:java-source-paths ["src"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment