sharedLibrary

Declares a peer shared library by "group:artifact:version" notation.


fun sharedLibrary(notation: CharSequence, action: Action<in PeerLibrarySpec>)

Declares a peer shared library by GAV notation and applies per-library overrides.


fun sharedLibrary(dependency: Provider<out MinimalExternalModuleDependency>)

Declares a peer shared library from a version catalog entry.


fun sharedLibrary(dependency: Provider<out MinimalExternalModuleDependency>, action: Action<in PeerLibrarySpec>)

Declares a peer shared library from a version catalog entry and applies per-library overrides.


fun sharedLibrary(project: ProjectDependency)

Declares a peer shared library from another project in this build (multi-project or composite).


fun sharedLibrary(project: ProjectDependency, action: Action<in PeerLibrarySpec>)

Declares a peer shared library from another project and applies per-library overrides.