Commits

Meikel Brandmeyer committed 90823e7 Merge

Merge v1.4.5 bugfixes

  • Participants
  • Parent commits 3a0f1da, aadd072

Comments (0)

Files changed (3)

 f607177c468dc9203ebda58854b654636adfee90 v1.4.2
 d39915ebf52aaf6a28d2d1e5c4c0ca7979593207 v1.4.3
 c92d98bdf192408de62f9ffbdd4867f1036f6082 v1.4.4
+754e8708574a87dba6caf5e5378682e123b9044c v1.4.5

File build.gradle

File contents unchanged.

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);
     }
 
         clojureExecAction.setMaxHeapSize(heapSize);
     }
 
+    public String getMinHeapSize() {
+        return clojureExecAction.getMinHeapSize();
+    }
+
+    public void setMinHeapSize(String heapSize) {
+        clojureExecAction.setMinHeapSize(heapSize);
+    }
+
     public boolean getEnableAssertions() {
         return clojureExecAction.getEnableAssertions();
     }