DependencyMapperExtension

interface DependencyMapperExtension

The optional configuration of Dependency Mapper.

Author

凛 (https://github.com/RinOrz)

Functions

alwaysUpdate
Link copied to clipboard
abstract fun alwaysUpdate()

Remappings dependencies whenever gradle sync.

concurrency
Link copied to clipboard
abstract fun concurrency(isConcurrently: Boolean = true)

Controls whether all 'DependencyMapper' processing is executed in a concurrent environment. Note that the all processing is concurrent by default.

format
Link copied to clipboard
abstract fun format(formatter: DependencyFormatter.() -> Unit)

Adds a formatter to formats dependency as mapping path.

libraries
Link copied to clipboard
abstract fun libraries(rootClassName: String = LibraryDependencyDeclaration.DefaultRootClassName, configuration: LibraryDependencyDeclaration.() -> Unit = {}): LibraryDependencyDeclaration

Adds or configures the dependency mapper of libraries.

plugins
Link copied to clipboard
abstract fun plugins(rootClassName: String = PluginDependencyDeclaration.DefaultRootClassName, configuration: PluginDependencyDeclaration.() -> Unit = {}): PluginDependencyDeclaration

Adds or configures the dependency mapper of plugins.

projects
Link copied to clipboard
abstract fun projects(rootClassName: String = ProjectDependencyDeclaration.DefaultRootClassName, configuration: ProjectDependencyDeclaration.() -> Unit = {}): ProjectDependencyDeclaration

Adds or configures the dependency mapper of projects.

updateWhen
Link copied to clipboard
abstract fun updateWhen(predicate: (Project) -> Boolean)

When the predicate returns true, remapping the dependencies.

Properties

project
Link copied to clipboard
abstract val project: Project

The project this extension belongs to.