Fix gradle build o365

I see. Should we create an issue to track that work item? I'll merge this now.