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.2
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.tasks.testing.source
/
ClasspathResourceSource
Classpath
Resource
Source
API
@
Incubating
interface
ClasspathResourceSource
:
TestSource
(
source
)
Classpath resource-based test source.
Since
9.4.0
Members
Functions
get
Classpath
Resource
Name
Link copied to clipboard
API
abstract
fun
getClasspathResourceName
(
)
:
String
Returns the name of the source classpath resource.
get
Position
Link copied to clipboard
API
@
Nullable
abstract
fun
getPosition
(
)
:
@
Nullable
FilePosition
Returns the position within the file, or null if not available.