package com.github.sherter.googlejavaformatgradleplugin;

import org.gradle.api.tasks.SourceTask;

abstract class FormatTask extends SourceTask {

  protected SharedContext sharedContext;

  abstract void accept(TaskConfigurator configurator);

  boolean hasSources() {
    return !source.isEmpty();
  }
}

@@ -279,14 +279,19 @@
 rn !
-s
+getS
 ource
+()
 .isE

Use getSource to access SourceTask source