Anouar di Kali
01/02/2024, 7:26 PMbaseline.xml
using the detektBaseline
task. Do you have any idea about the source of this issue?
Execution failed for task ':detektBaseline'
> Cannot access input property 'source' of task ':detektBaseline'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by u
sing Task.doNotTrackState(). For more information, please refer to <https://docs.gradle.org/8.5/userguide/incremental_build.html#disable-state-tracking> in the
Gradle documentation.
> Failed to create MD5 hash for file content.
detekt configuration :
detekt {
source.setFrom(file(projectDir))
parallel = true
autoCorrect = true
tasks.withType<Detekt> {
exclude("**/resources/**")
exclude("**/build/**")
include("**/*.kt")
include("**/*.kts")
}
baseline = file("${rootProject.projectDir}/config/baseline.xml")
}