another attempt to fix travis

This commit is contained in:
Anthony Restaino 2015-08-21 16:57:19 -04:00
parent d6fbfeaf29
commit ff5810c89a

View File

@ -8,6 +8,10 @@ android {
targetSdkVersion 22 targetSdkVersion 22
versionName "4.1.1a" versionName "4.1.1a"
} }
sourceSets {
lightningPlus.setRoot('src/LightningPlus')
lightningLite.setRoot('src/LightningLite')
}
buildTypes { buildTypes {
debug { debug {
minifyEnabled false minifyEnabled false
@ -50,18 +54,3 @@ dependencies {
// git submodule foreach git reset --hard // git submodule foreach git reset --hard
// git submodule update --remote // git submodule update --remote
} }
android.applicationVariants.all { variant ->
switch (variant.name) {
case "lightningPlus":
variant.mergeResources.doFirst {
android.sourceSets.debug.setRoot("src/LightningPlus")
}
break;
case "lightningLite":
variant.mergeResources.doFirst {
android.sourceSets.debug.setRoot("src/LightningLite")
}
break;
}
}