serenity-bdd / serenity-gradle-plugin

Apache License 2.0
1 stars 11 forks source link

Task clearReports not run when clean invoked #7

Closed gallardo closed 2 years ago

gallardo commented 2 years ago

Contrary to its description in https://github.com/serenity-bdd/serenity-gradle-plugin/blob/84a77af68ca099a298d2a04e737056447a932a8d/src/main/groovy/net/serenitybdd/plugins/gradle/SerenityPlugin.groovy#L134

, the task clearReports is not automatically run when clean invoked

gallardo commented 2 years ago

I came across the commit removing the relevant code: https://github.com/serenity-bdd/serenity-gradle-plugin/blame/5690eb8c1e866e0d5ab037a29872ddb5a5542bda/src/main/groovy/net/serenitybdd/plugins/gradle/SerenityPlugin.groovy#L146