Plugin Dependency Declaration
Used to declare how to map plugin dependencies.
Author
凛 (https://github.com/RinOrz)
Types
Functions
map
Link copied to clipboard
Adds the given pluginIds to map as path.
abstract fun map(vararg pluginIdsAndPaths: Pair<CharSequence, CharSequence>)
Content copied to clipboard
Adds the given pair to map the plugin ids to the specified mapped paths.
search
Link copied to clipboard
abstract fun search(vararg keywords: CharSequence, declaration: SearchDeclaration<PluginId>.() -> Unit = {})
Content copied to clipboard
open fun search(keywords: Iterable<CharSequence>, declaration: SearchDeclaration<PluginId>.() -> Unit = {})
Content copied to clipboard
Adds a request to searches remote plugin ids by keywords.
search Default Options
Link copied to clipboard
abstract fun searchDefaultOptions(declaration: SearchDeclaration<PluginId>.() -> Unit)
Content copied to clipboard
Adds a default search options block. All search requests will use the specified declaration by default.
search Prefixes
Link copied to clipboard
abstract fun searchPrefixes(vararg prefixes: CharSequence, declaration: SearchDeclaration<PluginId>.() -> Unit = {})
Content copied to clipboard
open fun searchPrefixes(prefixes: Iterable<CharSequence>, declaration: SearchDeclaration<PluginId>.() -> Unit = {})
Content copied to clipboard
Adds a request to searches for remote plugin ids where the specified prefixes exist.