In Groovy DSL syntax:
dependencies { implementation project(":MyAppProj") }
In Kotlin DSL syntax (newer and recommended):
dependencies { implementation(project(":MyAppProj")) }