Update dependencies
Simulate maven's provided dependency level in gradle files

Not perfect yet, but it is getting somewhere. Trouble is, fatjar still includes
the jsr305 jar.
Replace one usage of a now deprecated API in tests