gradle build packaging fix