Commits

Meikel Brandmeyer committed bd939ca

Fix protectedness in method in m9

  • Participants
  • Parent commits 19b672e

Comments (0)

Files changed (1)

File clojuresque/src/main/java/clojuresque/ClojureExec.java

 
 import org.gradle.api.file.FileCollection;
 import org.gradle.api.internal.file.FileResolver;
+import org.gradle.api.internal.project.ProjectInternal;
 import org.gradle.api.internal.ConventionTask;
 import org.gradle.api.tasks.TaskAction;
 import org.gradle.process.JavaExecSpec;
     private ClojureExecAction clojureExecAction;
 
     public ClojureExec() {
+        super();
+
         FileCollection driverConf = getProject().getConfigurations().getByName("clojuresque");
-        FileResolver fileResolver = getServices().get(FileResolver.class);
+        FileResolver fileResolver = ((ProjectInternal)getProject()).getFileResolver();
         clojureExecAction = new ClojureExecAction(fileResolver, driverConf);
     }