marta

Function expose()

fun marta.expose()

Exposes the marta module members so they can be used without the marta. prefix.

expose() is called automatically in single-file plugins.

Example:

marta.expose()

-- 'marta.plugin' is now imported, so it can be used directly
plugin {
    id = "com.company.name.pluginName",
    name = "Plugin name",
    apiVersion = "1.0"
}