a javac plugin for the leiningen clojure's building system
Switch branches/tags
Nothing to show
Pull request Compare This branch is 49 commits behind antoniogarrote:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
CHANGELOG
README
project.clj

README

# 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