Meikel  Brandmeyer avatar Meikel Brandmeyer committed 90823e7 Merge

Merge v1.4.5 bugfixes

Comments (0)

Files changed (3)

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

File contents unchanged.

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();
     }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.