Make gradle build working