* Update to Gradle 6.6
* Update to Kotlin 1.4
* Upgrade to prerelease of KtLint 0.38
* Fix testcase by unwrapping the original descriptor
* Increase max heap for dokka on Java 11
* Update minimal supported Gradle version to 5.3
* Do not run warningsAsErrors on CI due to Gradle not supporting Kotlin 1.4
* Remove new line testing as it fails on windows
* Require Gradle 5.4 to reflect Kotlin's required version from their website
* Gradle 5.6
* Define plugin versions in gradle.properties
* Work around Gradle 6 behaviour change
In Gradle 6 the default DuplicateStrategy is FAIL. This reverts to previous
behaviour to avoid an error due to two ktlint rulesets declaring a
RuleSetProvider service which, when merged, results in duplicate paths.
These files have no effect in detekt so the duplication can be ignored.
The duplicate path is "META-INF/services/com.pinterest.ktlint.core.RuleSetProvider"
* Fix issues found by :detekt-gradle-plugin:validateTaskProperties