lib

abstract fun lib(library: Any)(source)

Adds a library as input to this binary.

This method accepts the following types:

The Map notation supports the following String attributes:
  • project: the path to the project containing the library (optional, defaults to current project)
  • library: the name of the library (required)
  • linkage: the library linkage required ['shared'/'static'] (optional, defaults to 'shared')