Package com.meowool.gradle.toolkit

Types

DependencyFormatter
Link copied to clipboard
data class DependencyFormatter(isMergeDuplicateLevels: Boolean, initProcessorCount: Int, startProcessorCount: Int, nameProcessorCount: Int, endProcessorCount: Int, capitalizationPredicateCount: Int)

A formatter used to format dependency as path. The final result is DependencyFormatter.toPath.

DependencyMapperExtension
Link copied to clipboard
interface DependencyMapperExtension

The optional configuration of Dependency Mapper.

DependencyMapperPlugin
Link copied to clipboard
class DependencyMapperPlugin : Plugin<Any>

A plugin that can map dependencies to classes or fields.

FormatProcessor
Link copied to clipboard
typealias FormatProcessor = (input: String) -> String

Processor for formatting raw string.

The lambda provides a 'input' string, it may be a dependency, it may be a name, or it may be a path, and then the lambda needs to return a formatted string.

Note that if the formatting processor is declared multiple times in DependencyMapperExtension, the input parameter will be the formatted by the previous declared processor.

LibraryDependency
Link copied to clipboard
class LibraryDependency : CharSequence

Represents a library dependency meta-information.

LibraryDependencyDeclaration
Link copied to clipboard
interface LibraryDependencyDeclaration

Used to declare how to map library dependencies.

PluginDependencyDeclaration
Link copied to clipboard
interface PluginDependencyDeclaration

Used to declare how to map plugin dependencies.

PluginId
Link copied to clipboard
class PluginId : CharSequence

Represents a plugin dependency meta-information.

ProjectDependencyDeclaration
Link copied to clipboard
interface ProjectDependencyDeclaration

Used to declare how to map project dependencies.

SearchDeclaration
Link copied to clipboard
interface SearchDeclaration<Result>

Used to declare how to search for remote dependencies.