# LintReportsBuilder

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/LintReportsBuilder.kt+class:com.android.build.api.variant.LintReportsBuilder) Added in 9.6.0-alpha03


```
@Incubating
interface LintReportsBuilder
```

<br />

*** ** * ** ***

Build-time configuration for lint reports.

This object is accessible on `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/LintBuilder` via `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/LintBuilder#reports()`.

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/LintReportsBuilder#enableReportWithDependencies()` Whether the lint report task that includes dependencies should be enabled for this variant. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/LintReportsBuilder#enableReportWithoutDependencies()` Whether the local lint report task (which excludes dependencies) should be enabled for this variant. |

## Public properties

### enableReportWithDependencies

Added in 9.6.0-alpha03

```
var enableReportWithDependencies: Boolean
```

Whether the lint report task that includes dependencies should be enabled for this variant.

Only has an effect if `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/VariantBuilder#enableLint()` is also true and the Gradle property android.experimental.lint.lintReportAggregation is enabled.

Defaults to `true`.

### enableReportWithoutDependencies

Added in 9.6.0-alpha03

```
var enableReportWithoutDependencies: Boolean
```

Whether the local lint report task (which excludes dependencies) should be enabled for this variant.

Only has an effect if `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/VariantBuilder#enableLint()` is also true and the Gradle property android.experimental.lint.lintReportAggregation is enabled.

Defaults to `true`.