You can find the info on how to link the library here:
LINK ANDROID LIBRARY
You need to use with the new gradle:
implementation(project(":example-library"))