gpt4 book ai didi

android - lintOptions 的默认值是多少?

转载 作者:太空宇宙 更新时间:2023-11-03 10:40:08 25 4
gpt4 key购买 nike

在哪里可以找到 lintOptions 的默认值?

我找到了文档 here但默认情况下我找不到这些值是什么

最佳答案

我不知道包含所有默认值的文档。

但是您可以查看 1.5 中使用的源代码 here :

/**
* DSL object for configuring lint options.
*/
public class LintOptions implements com.android.builder.model.LintOptions, Serializable {
public static final String STDOUT = "stdout";
public static final String STDERR = "stderr";
private static final long serialVersionUID = 1L;
@NonNull
private Set<String> disable = Sets.newHashSet();
@NonNull
private Set<String> enable = Sets.newHashSet();
@Nullable
private Set<String> check = Sets.newHashSet();
private boolean abortOnError = true;
private boolean absolutePaths = true;
private boolean noLines;
private boolean quiet;
private boolean checkAllWarnings;
private boolean ignoreWarnings;
private boolean warningsAsErrors;
private boolean showAll;
private boolean checkReleaseBuilds = true;
private boolean explainIssues = true;
@Nullable
private File lintConfig;
private boolean textReport;
@Nullable
private File textOutput;
private boolean htmlReport = true;
@Nullable
private File htmlOutput;
private boolean xmlReport = true;
@Nullable
private File xmlOutput;

//..

}

关于android - lintOptions 的默认值是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35416853/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com