Dear fellow Clojurians,I'd like to announce a new release of Clojuresque formerly known as clj-gradle. There not many changes, but some fixes. Namely:
* compileClojure now fails, when compilation fails* compileClojure does not depend on compileJava anymore. The user can decide now.
* one can specify warn-on-reflection on a per source set basis* one can change the source directory of a source set (was previously hardwired)
* features a new nice name now :) Quickstart: buildscript { repositories { mavenRepo name: 'clojars', urls: 'http://clojars.org/repo' } dependencies { classpath 'clojuresque:clojuresque:1.1.0' } } usePlugin(clojuresque.ClojurePlugin) group = 'your.group.here' version = 'your.version.here' configurations { compileOnly { transitive = false visible = false } compile.extendsFrom(compileOnly) } repositories { mavenRepo name: 'clojars', urls: 'http://clojars.org/repo' } dependencies { compileOnly 'clojuresque:clojuresque:1.1.0' compile 'org.clojure:clojure:1.0.0' } // Dummy to make gradle generate a POM. uploadArchives { repositories.mavenDeployer {repository(url: String.format("file://%s/dummy-repo", project.buildDir.path))
} } task deployClojars(dependsOn: uploadArchives) << { ant.exec(executable: '/usr/bin/scp') { arg(value: String.format("%s/poms/pom-default.xml", project.buildDir.path)) arg(value: String.format("%s/libs/%s-%s.jar", project.buildDir.path, project.name, project.version)) arg(value: "cloj...@clojars.org:") } }Please report issues in the bug tracker on http://bitbucket.org/kotarak/clojuresque .
Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature