开发者社区 问答 正文

Android Lint在Sonarqube中没有显示任何问题

我的Gradle中配置的Lint选项如下

lintOptions {
     // set to true to turn off analysis progress reporting by lint
     quiet true
     // if true, stop the gradle build if errors are found
     abortOnError false
     // if true, only report errors
     ignoreWarnings true
 }

展开
收起
游客ufivfoddcd53c 2020-01-04 11:34:20 868 分享 版权
1 条回答
写回答
取消 提交回答
  • 尝试不要忽略警告:

    lintOptions {
        // set to true to turn off analysis progress reporting by lint
        quiet true
        // if true, stop the gradle build if errors are found
        abortOnError false
        // do not ignore warnings
        warningsAsErrors true
    }
    
    2020-01-04 11:34:38
    赞同 展开评论
问答分类:
问答标签:
问答地址: