AarAarShading

class AarAarShading(objects: ObjectFactory, dependencies: DependencyHandler)

Configures the scopes and rules for shading class files.

Rules can be applied universally or scoped to particular external or project dependencies.

Constructors

Link copied to clipboard
constructor(objects: ObjectFactory, dependencies: DependencyHandler)

Functions

Link copied to clipboard

Add shading rules that apply to all sources.

Link copied to clipboard
fun createRule(configure: Action<in ScopedShadeConfiguration>)
fun createRule(vararg scopes: ShadeConfigurationScope, configure: Action<in ScopedShadeConfiguration>)
Link copied to clipboard

Add shading rules that apply to a dependency with a particular group, name, and version. Only this version of this artifact group and name will inherit these rules.

Link copied to clipboard

Add shading rules that apply to one or more files, relative to the module's project folder.

Link copied to clipboard

Add shading rules that apply to dependencies from a particular group. Any name and any version in this artifact group will inherit these rules.

Link copied to clipboard

Add shading rules that apply to dependencies from a particular group and name. Any version of this artifact group and name will inherit these rules.

Link copied to clipboard

Add shading rules that apply only to a particular project.