1. Meikel Brandmeyer
  2. clojuresque

Commits

Meikel Brandmeyer  committed 5cb7a86

Fix clojars upload

  • Participants
  • Parent commits 0df4795
  • Branches default

Comments (0)

Files changed (2)

File build.gradle

View file
  • Ignore whitespace
 
 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

View file
  • Ignore whitespace
 
     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)