Package org.gradle.util

# 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 Summary

  Constructors
  Constructor
  Description
  `RelativePathUtil()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `relativePath(File from, File to)`
  Deprecated.
  Returns a relative path from 'from' to 'to'

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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