Permalink
Browse files

Merge pull request #11427 from Florin9doi/BUILD_FILTER

Android: Reduce the number of build variants
  • Loading branch information...
hrydgard committed Sep 27, 2018
2 parents 3d3f200 + 9e3ca46 commit 9454546435d4ca376ce118bff246905ef7ab4f93
Showing with 9 additions and 0 deletions.
  1. +9 −0 android/build.gradle
View
@@ -131,6 +131,15 @@ android {
}
}
}
variantFilter { variant ->
def needed = variant.name in [
'normalDebug', // for debugging
'normalOptimized', // for testing
'normalRelease', // for Google Play releases
'goldRelease' // for Google Play releases
]
variant.setIgnore(!needed)
}
}
afterEvaluate {
android.sourceSets.main.assets.getSrcDirs().each { println it }

0 comments on commit 9454546

Please sign in to comment.