app module and create libs directory..aar file there. For example myLib.aar.android block of app level's build.gradle file. repositories {
flatDir {
dirs 'libs'
}
}
This way you defined a new extra repository that points to app module's libs folder.
dependencies block or the build.gradle file:compile(name:'myLib', ext:'aar')