apply plugin: 'com.android.model.application'
...
dependencies {
compile project(':myLibraryProject')
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.android.model.library'
...
dependencies {
compile project(':sonacomponents')
compile 'com.android.support:support-v4:+'
}