47degrees / helios

A purely functional JSON library for Kotlin built on Ξ›rrow
https://47degrees.github.io/helios/
Apache License 2.0
169 stars 22 forks source link

Make the task "detekt" incremental #131

Closed theosotr closed 4 years ago

theosotr commented 4 years ago

Hi

This commit fixes the time-consuming task "detekt". First, it makes the task incremental by defining its inputs (i.e., all Kotlin source files) and its output (e.g., the generated report). In this way, this time consuming task only runs, whenever there is any change in the kotlin files.

Second, it fixes the argument given in the -r option of the command. The documentation states (See here that this option expects an entry that should consist of [report-id:path]. Available 'report-id' values are 'txt', 'xml', 'html'. So, the value helios is not acceptable as a report-id.

nomisRev commented 4 years ago

Thank you for your contribution! πŸŽ‰πŸ‘πŸ‘ I'm sorry it took so long to follow-up on!