在哪里可以找到lintOptions
的默认值?
我找到了文档here,但默认情况下我找不到这些值
答案 0 :(得分:1)
我不知道所有默认值的文档。
但是,您可以查看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;
//..
}