I am working with the axion gradle plugin and my goal is to test if the createRelease task has been executed. If so, I would like to edit a variable that my project depends on. How can I test if a gradle task has been successfully executed. I tried the onlyIf predicate and testing if it is not null but, the latter only tests if the task exists rather than if it was run.
I would like to run this test in the ext closure.