Commits

Meikel Brandmeyer  committed b2de7bf

Use output for classesDir instead of directly the source set

  • Participants
  • Parent commits 985e706

Comments (0)

Files changed (1)

File clojuresque/src/main/groovy/clojuresque/ClojureBasePlugin.groovy

             String compileTaskName = set.getCompileTaskName("clojure")
             ClojureCompileTask task = project.tasks.add(name: compileTaskName,
                     type: ClojureCompileTask.class) {
-                destinationDir = set.classesDir
+                destinationDir = set.output.classesDir
                 source set.clojure
                 clojureRoots = set.clojure
                 compileClasspath = set.compileClasspath
             source project.sourceSets.test.clojure
             testRoots = project.sourceSets.test.clojure
             testClasspath = project.configurations.testRuntime
-            classesDir = project.sourceSets.main.classesDir
+            classesDir = project.sourceSets.main.output.classesDir
             dependsOn project.tasks.classes, project.configurations.testRuntime
             description = "Run Clojure tests in src/test."
             if (project.hasProperty("clojuresque.test.vars")) {