update gradle build with filtering