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 8.0.
  This class is only here to maintain binary compatibility with existing plugins.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RelativePathUtil()` | Deprecated.

  - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    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 Detail

    - #### RelativePathUtil

          public RelativePathUtil()

      Deprecated.

  - ### Method Detail

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