public LicenseHeaderStep(String license,String delimiter){
  if (delimiter.contains("\n")) {
    throw new GradleException("The delimiter must not contain any newlines.");
  }
  license=LineEnding.toUnix(license);
  if (!license.endsWith("\n")) {
    license=license + "\n";
  }
  this.license=license;
  this.delimiterPattern=Pattern.compile('^' + delimiter,Pattern.UNIX_LINES | Pattern.MULTILINE);
}

public LicenseHeaderStep ( String license , String delimiter ) { if ( delimiter . contains ( "\n" ) ) { throw new GradleException ( "The delimiter must not contain any newlines." ) ; } license = LineEnding . toUnix ( license ) ; if ( ! license . endsWith ( "\n" ) ) { license = license + "\n" ; } this . license = license ; this . delimiterPattern = Pattern . compile ( '^' + delimiter , Pattern . UNIX_LINES | Pattern . MULTILINE ) ; }
the license that we ' d like enforced .
