gradle
8.3
Java API
gradle
/
org.gradle.testkit.runner
/
BuildResult
Build
Result
Java API
interface
BuildResult
The result of executing a build, via the
GradleRunner
.
See also
Gradle
Runner
Members
Functions
get
Output
Link copied to clipboard
Java API
abstract
fun
getOutput
(
)
:
String
The textual output produced during the build.
get
Tasks
Link copied to clipboard
Java API
abstract
fun
getTasks
(
)
:
List
<
BuildTask
>
The tasks that were part of the build.
task
Link copied to clipboard
Java 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
Java 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
Java API
abstract
fun
tasks
(
outcome
:
TaskOutcome
)
:
List
<
BuildTask
>
The subset of
getTasks
that had the given outcome.