allure-framework / allure-gradle

Allure Gradle Plugin
Apache License 2.0
85 stars 36 forks source link

Gradle5 support bugfixes #37

Closed boolivar closed 5 years ago

boolivar commented 5 years ago

Context

Plugin incorrectly configures outputs for test task, this leads to error on Gradle 5 build: Cannot write to file 'build/allure-results' specified for property '$1' as it is a directory.

Gradle 4 with --warning-mode=all warns about this: Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

Also during testing bugfix, issue was found with deprecated 'org.junit.platform.gradle.plugin' that was not configured with outputs and system properties and was unable to customize allure resultsDir.

Checklist

baev commented 5 years ago

@boolivar thanks!