Permalink
Browse files

Reduce the number of build variants

  • Loading branch information...
Florin9doi committed Sep 27, 2018
1 parent 3d3f200 commit 9e3ca46f555580c2f854ca51d40957d8b15cfdd1
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 9e3ca46

Please sign in to comment.