Make javadoc task depend on compile task in upload

Fixes #113