map

abstract fun map(vararg pluginIds: CharSequence)
open fun map(pluginIds: Iterable<CharSequence>)

Adds the given pluginIds to map as path.

For example:

map(
"org.mozilla.rust-android-gradle",
"net.bytebuddy.byte-buddy-gradle-plugin",
)

abstract fun map(vararg pluginIdsAndPaths: Pair<CharSequence, CharSequence>)
open fun map(pluginIdsAndPaths: Map<out CharSequence, CharSequence>)

Adds the given pair to map the plugin ids to the specified mapped paths.

For example:

map(
"org.mozilla.rust-android-gradle" to "Mozilla.Rust.AndroidPlugin",
"net.bytebuddy.byte-buddy-gradle-plugin" to "Bytebuddy.GradlePlugin",
)

Parameters

pluginIdsAndPaths

The first parameter of pairs is plugin ids, the second parameter is mapped paths.