api / org.gradle.api.plugins.quality / JDependExtension

JDependExtension

open class JDependExtension : CodeQualityExtension

Configuration options for the JDepend plugin.

See Also
JDependPlugin

Constructors

<init>

JDependExtension()

Configuration options for the JDepend plugin.

Inherited Functions

getReportsDir

open fun getReportsDir(): File

The directory where reports will be generated.

getSourceSets

open fun getSourceSets(): MutableCollection<SourceSet>

The source sets to be analyzed as part of the check and build tasks.

getToolVersion

open fun getToolVersion(): String

The version of the code quality tool to be used.

isIgnoreFailures

open fun isIgnoreFailures(): Boolean

Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true

setIgnoreFailures

open fun setIgnoreFailures(ignoreFailures: Boolean): Unit

Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true

setReportsDir

open fun setReportsDir(reportsDir: File): Unit

The directory where reports will be generated.

setSourceSets

open fun setSourceSets(sourceSets: MutableCollection<SourceSet>): Unit

The source sets to be analyzed as part of the check and build tasks.

setToolVersion

open fun setToolVersion(toolVersion: String): Unit

The version of the code quality tool to be used.

Extension Properties

ext

val JDependExtension.ext: ExtraPropertiesExtension

Retrieves the ext extension.

Extension Functions

ext

fun JDependExtension.ext(configure: ExtraPropertiesExtension.() -> Unit): Unit

Configures the ext extension.