api / org.gradle.api.artifacts.component / LibraryComponentSelector / getLibraryName

getLibraryName

abstract fun getLibraryName(): String

Return the library name of the selected library. If the library name is null then it is expected to find a single library defined in same project as the requesting component or dependency resolution will fail. If not null then the name will never be empty.

Return
the library name