Skip to content

Modernize #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 7, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replace dead javadoc links with www.javadoc.io links.
JSR-305 doesn't have 2.0.1 JavaDoc, it is pointing at the 3.0.1 release as the first release thereafter that does.

Also fixed doc generation when building under Java 9 and later.
  • Loading branch information
Capstan committed Jan 7, 2020
commit f437289e467fc8fbe9bcd686ea969c8a4dce1293
23 changes: 15 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,21 @@ dependencies {
testCompile(group: "org.assertj", name: "assertj-core", version: "1.7.0");
}

javadoc.options.links("http://docs.oracle.com/javase/6/docs/api/");
javadoc.options.links("http://jsr-305.googlecode.com/svn/trunk/javadoc/");
javadoc.options.links("http://fasterxml.github.com/jackson-databind/javadoc/2.2.0/");
javadoc.options.links("http://fasterxml.github.com/jackson-core/javadoc/2.2.0/");
javadoc.options.links("http://fasterxml.github.com/jackson-annotations/javadoc/2.2.0/");
javadoc.options.links("http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/");
javadoc.options.links("http://fge.github.io/msg-simple/");
javadoc.options.links("http://fge.github.io/jackson-coreutils/");
javadoc.options {
def currentJavaVersion = org.gradle.api.JavaVersion.current()
// FIXME: https://github.com/gradle/gradle/issues/11182
if (currentJavaVersion.compareTo(org.gradle.api.JavaVersion.VERSION_1_9) >= 0) {
addStringOption("-release", "6");
}
links("https://docs.oracle.com/javase/6/docs/api/");
links("https://www.javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.1/");
links("https://fasterxml.github.com/jackson-databind/javadoc/2.2.0/");
links("https://fasterxml.github.com/jackson-core/javadoc/2.2.0/");
links("https://fasterxml.github.com/jackson-annotations/javadoc/2.2.0/");
links("https://www.javadoc.io/doc/com.google.guava/guava/16.0.1/");
links("https://fge.github.io/msg-simple/");
links("https://fge.github.io/jackson-coreutils/");
}

/*
* Repositories to use
Expand Down