Skip to content

detektMain is noisy "Ignoring a file detekt cannot handle" #3019

@BraisGabin

Description

@BraisGabin

Expected Behavior

This kind of messages doesn't appear

> Task :common:core:detektDebugUnitTest
Ignoring a file detekt cannot handle: /Users/brais.gabin/projects/XXXXX/Class.java

Current Behavior

If I run ./gradlew detekt this messages never appear. But if I run ./gradlew detektMain or ./gradlew detektTest they do appear.

Context

Now that we have support to Android variants I'm moving my detekt configuration to use detektMain instead of detekt so I can use Type resolutions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions