Fixing androidJavadocs and androidSourcesJar tasks

See https://code.google.com/p/android/issues/detail?id=71174 and
https://android.googlesource.com/platform/tools/base/+/5e71a83f74258b85d
7f5306bf743c4d69d6242f8%5E%21/#F2