public UnsupportedFeatureException(
     String feature, GradleVersion targetGradleVersion, GradleVersion minSupportedGradleVersion) {
   super(
       String.format(
           "The version of Gradle you are using (%s) does not %s. Support for this is available in Gradle %s and all later versions.",
           targetGradleVersion.getVersion(), feature, minSupportedGradleVersion.getVersion()));
 }
 protected static VersionDetails getVersionDetails(String versionString) {
   GradleVersion version = GradleVersion.version(versionString);
   if (version.compareTo(GradleVersion.version("1.11")) > 0) {
     return new R112VersionDetails(version.getVersion());
   }
   return new R18VersionDetails(version.getVersion());
 }