Commits

Meikel Brandmeyer committed 251ebfd

Add compilate output to source set output

  • Participants
  • Parent commits d3a0cd3

Comments (0)

Files changed (1)

File scriptoresque-base/src/main/groovy/clojuresque/ClojureScriptBasePlugin.groovy

                 }
                 description = "Compile the ${set.name} ClojureScript source."
             }
-            project.tasks[set.classesTaskName].dependsOn task
+            set.output.dir(builtBy: task, { task.outputFile })
         }
     }
 
                 source { compileTask.outputFileBuildable }
                 description = "Gzip the ${set.name} ClojureScript compilate."
             }
+            set.output.dir gzipTask
         }
     }
 }