api / org.gradle.plugin.use / PluginId / withNamespace

withNamespace

abstract fun withNamespace(namespace: String): PluginId

Takes this unqualified plugin ID and adds a namespace.

Parameters

namespace - the namespace to add.

Exceptions

IllegalArgumentException - if the ID already had a namespace

Return
the plugin ID qualified with the given namespace