Make it possible to use a custom AAR to build servoapp

This commit is contained in:
Paul Rouget 2018-08-14 10:35:15 +02:00
parent e051c5880e
commit 8106e5e9bf
3 changed files with 40 additions and 2 deletions

View file

@ -123,5 +123,9 @@ android {
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation project(':servoview')
if (findProject(':servoview-local')) {
implementation project(':servoview-local')
} else {
implementation project(':servoview')
}
}