Android Studio - Inspect Code - Exclude generated files

前端 未结 4 1888
梦如初夏
梦如初夏 2021-02-20 03:24

Is there any way, how to exclude android generated files (or manually specify excluded folders), from Analyze -> Inspect Code ?

4条回答
  •  遥遥无期
    2021-02-20 04:08

    You can do it using the Gradle IDEA plugin:

    apply plugin: 'idea'
    idea {
        module {
            excludeDirs = [file("unwanted-directory-name")]
        }
    }
    

提交回复
热议问题