Commits

Meikel Brandmeyer  committed 91a5756

Don't extend compile configuration from development

  • Participants
  • Parent commits acb8edc

Comments (0)

Files changed (2)

File src/main/groovy/clojuresque/ClojureCompileTask.groovy

             classpath = project.files(
                 this.inputRoots,
                 this.destinationDir,
+                project.configurations.development,
                 this.compileClasspath
             )
             main = "clojure.main"

File src/main/groovy/clojuresque/ClojurePlugin.groovy

                 inputRoot set.clojure.sourceDir
                 compileClasspath = set.compileClasspath
                 dependsOn set.compileClasspath
+                dedendsOn project.configurations.development
                 description =
                     String.format("Compile the %s Clojure source.",
                             set.name)
                 description = "Development only dependencies"
                 extendsFrom clojuresque
             }
-            compile.extendsFrom development
         }
     }
 
                 'Copy runtime dependencies into the build/lib directory'
             into 'lib'
             from project.configurations.testRuntime
+            from project.configurations.development
         }
     }