I'd like to announce a new release of Clojuresque formerly known as clj-gradle. There not many changes, but some fixes. Namely:
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: "clojars@clojars.org:")
}
}
Please report issues in the bug tracker on bitbucket.
Published by Meikel Brandmeyer on .
I'm a long-time Clojure user and the developer of several open source projects mostly involving Clojure. I try to actively contribute to the Clojure community.
My most active projects are at the moment VimClojure, Clojuresque and ClojureCheck.
Copyright © 2009-2014 All Right Reserved. Meikel Brandmeyer