fix gradle build for docs and sources jars