Closed forming closed 5 years ago
Could you please share with me your androidAnalyzer { .. }
block and the exact gradle task that you are executing? That would help. Thanks.
Running ./gradlew androidAnalyzer
androidAnalyzer {
applicationId = 'com.test.project'
projectName = 'Test project'
projectVersion = '4.254.0'
detekt = true
unitTestCoverage = false
packageName = 'com.test.project'
buildVariant = 'debug'
buildBreaker = false
sonarqubeGitBranches = false // only works with a paid license
}
Thank you. I am going to try to reproduce it and get back to you.
@forming could you try again with the latest version? Detekt has been out of RC and in stable, that might have solved the issue. Appreciate it.
Seems to be working perfectly now, thank you!
Task
androidAnalyzerDetektConfig
fails whendetekt = true
.Error message:
io.gitlab.arturbosch.detekt.extensions.DetektExtension.setConfig(Lorg/gradle/api/file/ConfigurableFileCollection;)V