ModuleCheckExtension

open class ModuleCheckExtension @Inject constructor(objects: ObjectFactory, projectLayout: ProjectLayout) : ModuleCheckSettings

Constructors

Link copied to clipboard
@Inject
fun ModuleCheckExtension(objects: ObjectFactory, projectLayout: ProjectLayout)

Functions

Link copied to clipboard
fun checks(action: Action<ChecksSettings>)
Link copied to clipboard
fun reports(action: Action<ReportsExtension>)

Configures reporting options

Link copied to clipboard
fun sort(action: Action<SortExtension>)

Properties

Link copied to clipboard
open override var additionalCodeGenerators: List<CodeGeneratorBinding>

List of CodeGeneratorBinding's to be checked, which aren't included by default with ModuleCheck.

Link copied to clipboard
open override var additionalKaptMatchers: List<KaptMatcher>

List of KaptMatcher's to be checked, which aren't included by default with ModuleCheck.

Link copied to clipboard
open override val checks: ChecksSettings
Link copied to clipboard
open override var deleteUnused: Boolean

If true, ModuleCheck will delete declarations of unused dependencies entirely.

Link copied to clipboard
open override var doNotCheck: Set<String>

Set of modules which will not be excluded from error reporting. The most common use-case would be if the module is the root of a dependency graph, like an Android application module, and it needs everything in its classpath for dependency injection purposes.

Link copied to clipboard
open override var ignoreUnusedFinding: Set<String>

Set of modules which are allowed to be unused.

Link copied to clipboard
open override val reports: ReportsExtension

Configures reporting options

Link copied to clipboard
open override val sort: SortExtension

Sources

Link copied to clipboard