Source

j18n / build.gradle

Diff from to

build.gradle

 }
 
 apply plugin: "clojure"
+apply plugin: "clojars"
 apply plugin: "local-dotgradle"
+apply plugin: "signing"
 
 defaultRepositories {
     mavenCentral()
     compile "org.clojure:clojure:[1.2,1.5)"
 }
 
-uploadArchives {
-    clojarsDeploy()
+signing {
+    sign configurations.archives
 }
+
+clojars {
+    deploy(uploadArchives) {
+        project {
+            licenses {
+                license {
+                    name 'MIT License'
+                    url 'http://opensource.org/licenses/MIT'
+                    distribution 'repo'
+                }
+            }
+            description "A small library to easily use ResourceBundles from Clojure"
+            url "http://bitbucket.org/kotarak/j18n"
+            scm {
+                connection 'scm:hg:hg@bitbucket.org:kotarak/j18n'
+                developerConnection 'scm:hg:hg@bitbucket.org:kotarak/j18n'
+                url 'hg@bitbucket.org:kotarak/j18n'
+            }
+        }
+    }
+}