You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The methods build() and buildAndFail() and opinionated on the outcome of the build. We should introduce run() which would be unopinionated on the state of the build. Users would have to validate the outcome.
The major reason against this API is there is no real valid reason to execute a Gradle build without expectation. For example, if we just want to execute task :foo, if we don't care about the outcome... would :foo execute successfully or not. Most likely, we would use build() so :foo is executed successfully, to the extent of what success means in the context.
The text was updated successfully, but these errors were encountered:
The methods build() and buildAndFail() and opinionated on the outcome of the build. We should introduce run() which would be unopinionated on the state of the build. Users would have to validate the outcome.
The major reason against this API is there is no real valid reason to execute a Gradle build without expectation. For example, if we just want to execute task
:foo
, if we don't care about the outcome... would:foo
execute successfully or not. Most likely, we would usebuild()
so:foo
is executed successfully, to the extent of what success means in the context.The text was updated successfully, but these errors were encountered: