- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for BuildWorkResult (0.19 sec)
-
platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/DefaultFlowProviders.kt
private val buildWorkResult by lazy { BuildWorkResultProvider() } override fun getBuildWorkResult(): Provider<BuildWorkResult> = buildWorkResult } class BuildWorkResultProvider : AbstractMinimalProvider<BuildWorkResult>() { private var result: BuildWorkResult? = null fun set(result: BuildWorkResult) { require(this.result == null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy
parameters.workResult = flowProviders.buildWorkResult }.get() ''' expect: fails() and: // TODO(mlopatkin) The error message can be improved. failureHasCause(~/Could not isolate value ResultSource(.*) of type ResultSource.Params/) } def "task cannot depend on buildWorkResult, fails with clear message and problem is reported"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt
state.add(registeredFlowAction) return DefaultFlowScopeRegistration() } private fun setBuildWorkResult(failure: Throwable?) { flowProviders.buildWorkResult.uncheckedCast<BuildWorkResultProvider>().apply { set { Optional.ofNullable(failure) } } } private fun schedulePendingActions() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/dataflow_actions.adoc
You can obtain these providers from the link:{javadocPath}/org/gradle/api/flow/FlowProviders.html[FlowProviders] class. [source,groovy] ---- flowProviders.buildWorkResult.map { [ buildInvocationId: scopeIdsService.buildInvocationId, workspaceId: scopeIdsService.workspaceId, userId: scopeIdsService.userId ] } ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:10 UTC 2024 - 5.7K bytes - Viewed (0)