Commits

Meikel Brandmeyer committed 761b01b

Ensure that compile task classpath is modifyable

  • Participants
  • Parent commits d136a40

Comments (0)

Files changed (1)

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

                 destinationDir = set.output.classesDir
                 source set.clojure
                 clojureRoots = set.clojure
-                classpath = set.compileClasspath
-                dependsOn set.compileClasspath, project.configurations.development
+                classpath = project.files(
+                    set.compileClasspath,
+                    project.configurations.development
+                )
                 description =
                     String.format("Compile the %s Clojure source.",
                             set.name)
             }
             project.tasks[set.classesTaskName].dependsOn task
-            set.compileClasspath = project.files(
-                set.compileClasspath,
-                project.configurations.development
-            )
         }
     }