Library Dependency Declaration
Used to declare how to map library dependencies.
Author
凛 (https://github.com/RinOrz)
Types
Functions
map
Link copied to clipboard
Adds the given dependencies to map as path.
abstract fun map(vararg dependenciesAndPaths: Pair<CharSequence, CharSequence>)
Content copied to clipboard
Adds the given pair to map the dependencies to the specified mapped paths.
search
Link copied to clipboard
abstract fun search(vararg keywords: CharSequence, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
open fun search(keywords: Iterable<CharSequence>, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
Adds a request to searches remote dependencies by keywords.
search Default Options
Link copied to clipboard
abstract fun searchDefaultOptions(declaration: SearchDeclaration<LibraryDependency>.() -> Unit)
Content copied to clipboard
Adds a default search options block. All search requests will use the specified declaration by default.
search Groups
Link copied to clipboard
abstract fun searchGroups(vararg groups: CharSequence, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
open fun searchGroups(groups: Iterable<CharSequence>, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
Adds a request to searches for remote dependencies belonging to specified groups.
search Prefixes
Link copied to clipboard
abstract fun searchPrefixes(vararg prefixes: CharSequence, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
open fun searchPrefixes(prefixes: Iterable<CharSequence>, declaration: SearchDeclaration<LibraryDependency>.() -> Unit = {})
Content copied to clipboard
Adds a request to searches for remote dependencies where the specified prefixes exist.
transfer Plugin Ids
Link copied to clipboard
Transfers the coordinates of all gradle plugin ids to target declaration.
abstract fun transferPluginIds(targetRootClassName: String = PluginDependencyDeclaration.DefaultRootClassName)
Content copied to clipboard
Transfers the coordinates of all gradle plugin ids to target declaration.