marta

Function useRocks()

fun marta.useRocks(rocksPath: String = "rocks")

Attaches source and binary dependencies from the LuaRocks dependency tree. Note that useRocks() is only allowed in multi-file plugins.

rocksPath allows to customize the dependency directory path. Both absolute paths, and paths relative to the plugin directory are supported. By default, LuaRocks dependencies are seen in the rocks subdirectory.

The plugin author is to download all required dependencies to the specified directory using the luarocks utility, and include the tree into the plugin distribution.

See the Using LuaRocks dependencies tutorial for more information.