Updated gradle jar dependency as something that will be provided by the runtime environment. Fixed O365 jar reference versions for gradle.