Stop a Gradle Build with an Error: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 8: | Line 8: | ||
* [http://gradle.org/docs/current/javadoc/org/gradle/api/InvalidUserDataException.html InvalidUserDataException] | * [http://gradle.org/docs/current/javadoc/org/gradle/api/InvalidUserDataException.html InvalidUserDataException] | ||
* [http://gradle.org/docs/current/javadoc/org/gradle/api/GradleScriptException.html GradleScriptException] | * [http://gradle.org/docs/current/javadoc/org/gradle/api/GradleScriptException.html GradleScriptException] | ||
=Example= | |||
=Organizatorium= | |||
* [http://gradle.org/docs/current/javadoc/org/gradle/api/tasks/StopActionException.html StopActionException] | |||
* [http://www.gradle.org/docs/current/javadoc/org/gradle/api/tasks/TaskExecutionException.html TaskExecutionException] |
Revision as of 21:40, 14 March 2019
Internal
Overview
To stop Gradle in the configuration phase with an error, usually caused by user input, or missing configuration, throw the relevant exception from org.gradle.api package: