Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
# lein-javac A javac plugin for Leiningen. It allows you to compile .java files in the src directory of the project. The compiled classes will be outputed to the classes directory of the project. ## Usage $lein compile-java You can specify some options in your leiningen project to customize the way javac works, as in the following sample: (defproject testjc "1.0" :description "testjc" :main testjc.testjc :source-path "src/clj" :java-source-path "src/java" :javac-fork "true" :dependencies [[org.clojure/clojure-lang "1.1.0-alpha-SNAPSHOT"] [org.clojure/clojure-contrib "1.0-SNAPSHOT"]]) ## Installation It is located as a library at clojars.org, you can add it to your leiningen project: :dev-dependencies [[lein-javac "0.0.1-SNAPSHOT"]] :repositories [["clojars" "http://clojars.org/repo"]] ## License MIT license