Use new central artifact redirect link.

This commit is contained in:
Jake Wharton 2014-11-19 14:24:33 -08:00
parent 8fe0b22fba
commit baa3a8046a

View file

@ -24,7 +24,7 @@ git checkout -t origin/gh-pages
rm -rf *
# Download the latest javadoc
curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip
curl -L "https://search.maven.org/remote_content?g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip
unzip javadoc.zip
rm javadoc.zip