toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.testkit.runner
/
BuildResult
Build
Result
API
interface
BuildResult
(
source
)
The result of executing a build, via the
GradleRunner
.
Since
2.6
See also
Gradle
Runner
Members
Functions
get
Output
Link copied to clipboard
API
abstract
fun
getOutput
(
)
:
String
The textual output produced during the build.
get
Tasks
Link copied to clipboard
API
abstract
fun
getTasks
(
)
:
List
<
BuildTask
>
The tasks that were part of the build.
task
Link copied to clipboard
API
@
Nullable
abstract
fun
task
(
taskPath
:
String
)
:
BuildTask
Returns the result object for a particular task, or
null
if the given task was not part of the build.
task
Paths
Link copied to clipboard
API
abstract
fun
taskPaths
(
outcome
:
TaskOutcome
)
:
List
<
String
>
The paths of the subset of
getTasks
that had the given outcome.
tasks
Link copied to clipboard
API
abstract
fun
tasks
(
outcome
:
TaskOutcome
)
:
List
<
BuildTask
>
The subset of
getTasks
that had the given outcome.