Permalink
Browse files

More formatting fixes

  • Loading branch information...
1 parent 9188689 commit 9b69c99674b48c0f3469ade265b1a21492f44a4b Robert Fischer committed Nov 25, 2009
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -7,13 +7,17 @@ These are a variety of plugins that I wrote for [Gradle](http://gradle.org) and
### Description
Provides two methods on the `project` object to work with configuration classloaders:
+
* `classLoaderFor(configName)`—Provides a `java.lang.ClassLoader` consisting of all of the classes for a configuration.
+
* `classFor(configName, className)`—Looks up the class for name `className` using the class loader for config `configName`.
### Usage
+
usePlugin(ClassLoadersPlugin)
### Example
+
task(foo) << {
project.classFor(bar, "my.app.Main").main()
}
@@ -25,9 +29,11 @@ Provides two methods on the `project` object to work with configuration classloa
Provides methods `exec(cmd)` and `exec(cmd, baseDir)` on the project to execute shell commands. If the command does not return 0, the build will fail.
### Usage
+
usePlugin(ExecPlugin)
### Example
+
project.exec("ls -al", project.buildDir)
# Installation

0 comments on commit 9b69c99

Please sign in to comment.