updated gradle-based build workflow