ModuleCheckExtension

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

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard

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
Link copied to clipboard
open override var trace: Boolean

If true, ModuleCheck will collect a trace of expensive and delicate operations. This trace is added to any thrown exceptions. Tracing is disabled by default, as it does incur a performance penalty.

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>)