Class RelativePathUtil

java.lang.Object
org.gradle.util.RelativePathUtil

@Deprecated public class RelativePathUtil extends Object
Deprecated.
Will be removed in Gradle 9.0.
This class is only here to maintain binary compatibility with existing plugins.
  • Constructor Details

    • RelativePathUtil

      public RelativePathUtil()
      Deprecated.
  • Method Details

    • relativePath

      public static String relativePath(File from, File to)
      Deprecated.
      Returns a relative path from 'from' to 'to'
      Parameters:
      from - where to calculate from
      to - where to calculate to
      Returns:
      The relative path