This plugin will help you exclude so files by flavor or buildType
Primary LanguageGroovyOtherNOASSERTION