Commits

Meikel Brandmeyer  committed 5cb7a86

Fix clojars upload

  • Participants
  • Parent commits 0df4795

Comments (0)

Files changed (2)

File build.gradle

 
 subprojects {
     uploadArchives.doLast {
-        String pomFile = project.buildDir.path + "/" +
-            project.mavenPomDir.name + "/" +
+        String pomFile = project.mavenPomDir.name + "/" +
             project.name + "-" + project.version + ".xml"
 
         project.pom().writeTo(pomFile)

File clojuresque/src/main/groovy/clojuresque/ClojureUploadConvention.groovy

 
     public void clojarsDeploy() {
         upload.doLast {
-            String pomName = project.buildDirName + "/" +
-                project.mavenPomDir.name + "/" +
+            String pomName = project.mavenPomDir.path + "/" +
                 "pom-" + upload.configuration.name + ".xml"
 
             project.pom().writeTo(pomName)