clojuresque / README.txt

Diff from to


 ## Caveats
-* Sitting between the chairs of [Clojure][clj]'s namespace based and the
-  other languages file based compilation, you have to include or exclude
-  namespaces based on filenames for now.
 * Automatic recognition of namespaces only works if the `ns` form is the
   first in the file. Comments may precede the form. The symbol is allowed
   to be fully qualified: `clojure.core/ns`.
 From now on you can skip the whole `buildscript` stuff and just use
 `usePlugin('clojure')` to load the plugin.
+## Filter
+In the filesets you can specify filters with `include` resp. `exclude`.
+This is fine for mostly file based languages. However clojure is strongly
+based on namespaces. Therefor the clojure part of the source sets support
+also `includeNamespace` and `excludeNamespace` which can be used to filter
+on the namespace name. Eg. to exclude examples from the final jar one
+could use
+    sourceSets.main.clojure {
+        excludeNamespace 'my.project.examples.**.*'
+    }
 ## Clojars Deployment
 **Note: Does work only on Unix/Mac OS via shell out to scp. Does not
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.