- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for failingTask (0.14 sec)
-
platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts
} } } val failingTask by registering { doLast { problems.forNamespace("buildscript").throwing { id("broken-task", "Task should not be called") .contextualLabel("Task 'failingTask' should not be called") .severity(Severity.ERROR) .withException(RuntimeException("The 'failingTask' should not be called"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/ide/problems-api-usage/groovy/reporters/script-plugin/src/main/groovy/reporters.script.plugin.gradle
} } } tasks.register('failingTask') { doLast { problems.forNamespace('buildscript').throwing { it.id('broken-task', 'Task should not be called') .contextualLabel("Task 'failingTask' should not be called") .severity(Severity.ERROR) .withException(new RuntimeException("The 'failingTask' should not be called"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy
given: buildFile << """ task failingTask { doFirst { throw new GradleException('task failed intentionally') } } """ when: runBuild('failingTask') then: thrown(BuildException) with (taskFailureResult(':failingTask')) { !executionReasons.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.8K bytes - Viewed (0)