Permalink
Browse files

Fixes to support reloading.

  • Loading branch information...
1 parent 7ece96f commit 8b10c3088b631b938af8b8054b3c6fb350a1cbd0 @ldaley ldaley committed Feb 2, 2013
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/main/groovy/org/grails/gradle/plugin/GrailsTask.groovy
@@ -63,11 +63,8 @@ class GrailsTask extends DefaultTask {
private projectDir
private projectWorkDir
- private final Factory<WorkerProcessBuilder> workerProcessBuilderFactory
-
- @Inject GrailsTask(Factory<WorkerProcessBuilder> workerProcessBuilderFactory, FileResolver fileResolver) {
- this.workerProcessBuilderFactory = workerProcessBuilderFactory
- this.jvmOptions = new DefaultJavaForkOptions(fileResolver)
+ GrailsTask() {
+ this.jvmOptions = new DefaultJavaForkOptions(getServices().get(FileResolver))
command = name
}

0 comments on commit 8b10c30

Please sign in to comment.