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.3
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.tooling.model.kotlin.dsl
/
KotlinDslScriptModel
Kotlin
Dsl
Script
Model
API
interface
KotlinDslScriptModel
(
source
)
Model for a Kotlin DSL script.
Since
6.0
Members
Functions
get
Class
Path
Link copied to clipboard
API
abstract
fun
getClassPath
(
)
:
List
<
File
>
Returns the class path.
get
Editor
Reports
Link copied to clipboard
API
abstract
fun
getEditorReports
(
)
:
List
<
EditorReport
>
Returns the editor reports.
get
Exceptions
Link copied to clipboard
API
abstract
fun
getExceptions
(
)
:
List
<
String
>
Returns the exceptions.
get
Implicit
Imports
Link copied to clipboard
API
abstract
fun
getImplicitImports
(
)
:
List
<
String
>
Returns the implicit imports.
get
Source
Path
Link copied to clipboard
API
abstract
fun
getSourcePath
(
)
:
List
<
File
>
Returns the source path.