abstract fun lib(library: Any)(source)

Adds a library that this source set requires. 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')