Commits

Meikel Brandmeyer committed 43397dc

Sign artifacts and publish to clojars

  • Participants
  • Parent commits 14d2ef2

Comments (0)

Files changed (1)

File build.gradle

 apply plugin: 'clojure'
 apply plugin: clojuresque.ClojarsPlugin
 apply plugin: 'local-dotgradle'
+apply plugin: 'signing'
 
 group = 'de.kotka'
 version = '3.0.1-SNAPSHOT'
     compile 'org.clojure:clojure:1.2.1'
 }
 
-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 lazy map implementation for Clojure"
+            url "http://bitbucket.org/kotarak/lazymap"
+            scm {
+                connection 'scm:hg:hg@bitbucket.org:kotarak/lazymap'
+                developerConnection 'scm:hg:hg@bitbucket.org:kotarak/lazymap'
+                url 'hg@bitbucket.org:kotarak/lazymap'
+            }
+        }
+    }
 }
 
 task wrapper(type: Wrapper) {