Could not resolve project :app

Java
   implementation project(path: ': yourLibrary', configuration:'default')

Source

Also in Java: