For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.plugins.ide.idea.model
/
FilePath
File
Path
API
open
class
FilePath
:
Path
(
source
)
A Path that keeps the reference to the File
Since
1.0
Members
Constructors
File
Path
Link copied to clipboard
API
constructor
(
file
:
File
,
url
:
String
,
canonicalUrl
:
String
,
relPath
:
String
)
Creates a new
FilePath
.
Properties
canonical
Url
Link copied to clipboard
API
val
canonicalUrl
:
String
file
Link copied to clipboard
API
val
file
:
File
rel
Path
Link copied to clipboard
API
val
relPath
:
String
url
Link copied to clipboard
API
val
url
:
String
Functions
equals
Link copied to clipboard
API
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
API
open
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
API
open
fun
toString
(
)
:
String